Hey there. Seeing a weird issue which looks to me like graph.setVersion isn't working. I'm pulling posts from a public Facebook page (using an app token). Using the Graph API explorer, if I set my request to use v2.5 or v2.4, I will only get back the message, created_time and id fields in my response. But if I change the explorer to earlier versions (v2.0 - v. 2.3) I get back many more fields (picture, source, link, name, caption, etc.). So I'm trying to use setVersion to use the earlier version as I want the more verbose response.
{
"data": [{
"message": "Tesla CEO Elon Musk took the stage in front of a hooting crowd of fans and clients to reveal the Model 3.",
"created_time": "2016-04-01T14:20:00+0000",
"id": "8304333127_10154185641613128"
}, {
"message": "Today's jobs report likely wasn’t strong enough to provoke Fed action at its next policy meeting this month, Jon Hilsenrath writes.",
"created_time": "2016-04-01T14:00:00+0000",
"id": "8304333127_10154185639173128"
}, {
"message": "The office of Luxembourg’s state prosecutor is investigating whether hundreds of millions of dollars sent to an account at a bank in Luxembourg originated from 1MDB.",
"created_time": "2016-04-01T13:40:00+0000",
"id": "8304333127_10154185633468128"
},
So it seems to be using a more recent version of the API here, at least 2.4 or 2.5.
Hey there. Seeing a weird issue which looks to me like
graph.setVersion
isn't working. I'm pulling posts from a public Facebook page (using an app token). Using the Graph API explorer, if I set my request to use v2.5 or v2.4, I will only get back themessage
,created_time
andid
fields in my response. But if I change the explorer to earlier versions (v2.0 - v. 2.3) I get back many more fields (picture, source, link, name, caption, etc.). So I'm trying to usesetVersion
to use the earlier version as I want the more verbose response.So using fbgraph, I have:
The response using 2.1:
So it seems to be using a more recent version of the API here, at least 2.4 or 2.5.
Any thoughts?