Answer the question
In order to leave comments, you need to log in
Why am I getting incomplete facebook post data?
Good evening. I am loading certain reviews from the company's page.
A page like https://www.facebook.com/userbane/posts/postID
I
generate a token and send the ID to graph.facebook.com
In response, I get only part of the data for this post. For example, I don't get the most important data (who added this post, name, avatar)...
{
"message": "Текст отзыва",
"start_time": "2016-07-15T12:59:24+0000",
"type": "places.rates",
"data": {
"rating": {
"value": 5,
"scale": 5
},
"review_text": "Текст отзыва",
"is_draft": false,
"language": "ru",
"generic_place": {
"id": "***",
"title": "companyName",
"type": "place",
"url": "https://www.facebook.com/companyName/"
}
},
"id": "***"
}
Answer the question
In order to leave comments, you need to log in
Everything is quite simple. It needed a little deeper into the dock. dig.
The solution lay on the surface. We have a direct link to the feedback:
Cut out the POST_ID and access the API with it:
By default, when accessing without arguments, the information is displayed incomplete and illogical.
In the same place, we get USER_ID and can already load more detailed public information about the user. For example an avatar.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question