Get information about post on Facebook with GraphQL API - facebook

The example I have a post on Facebook: https://www.facebook.com/dji.europe/posts/2044303259123118
How to get information from the post such as like count, caption, comments count and text of comments and other information, using Facebook GraphQL.
Can I get the same information, from not business accounts?

Related

Facebook Graph API unable to get comments from user's post

The Facebook Graph API seems no way to get any comments other than user itself posted from users' any Post, Album, Photo or Video nowadays. The /{object-id}/comments doc said A User can only query their own comments. Other users' comments are unavailable due to privacy concerns., also For the following nodes, the /comments endpoint returns empty data if you read it with a User access token:.
Does it really means Facebook Graph API unable to get user post's full comments in any way?
If this is for "personal use" your own user token then yeah you won't have a choice to bring anything else but if you're using a Page Token for a page that you manage then you can get the posts and comments but I'm currently unable to get the Comments "from" data so I can know who the User is (Name)

How to get other's comments to my post through facebook api

I want to get who commented or liked to my post on Facebook through facebook api.
I used Facebook Graph API and could get post_id.
And used this endpoint: {POST_ID}/comments, but it returned only my comments.
Is there any way to get other's comments with user id?

Getting demographics details of people who have liked a post on a Facebook Page

I'm trying to get demographics information (mainly Location) regarding the people who like a particular post on a page owned by someone else.
For example, for a post on CocaCola's FB Page, I'm trying to get the reactions for a particular post by using this following string in the Graph API Explorer: 40796308305_10155753622733306/?fields=reactions{name,link,type}
Is there a way to also get location of the person who reacted to the post?
I'm using Graph API v2.6

Is there an equivalent to "user_likes" for comments for Posts within a News Feed using Graph API?

I have not been able to find any information that indicates that there is a similar way to get the information for whether or not the user associated with the access_token that is making a request to .../me/home?… to get News Feed posts likes each post in the return from the FB Graph API call. For comments there is a "user_likes" field that can be retrieved for a comment within a post, but I cannot (without error/failure) request "user_likes" in the comma delimited list of fields for the feed as in ".../me/home?fields=user_likes,…
From what I can see, the only way I can determine if the user likes each post is to compare the user's Facebook ID to the id of each of the likes for post. This is problematic in that many of the posts returned in the Graph API request return a subset of the likes with paging likes to get additional likes.
Has anyone found a way to solve this problem? I do not want to use FQL, and am aware that similar posts to this have received FQL solutions in response.
Thanks,
Joe

How to comment and Like on friends wall through FBGraph API?

How to comment and Like on friends wall through FBGraph API?
Documentation with examples on how to do this is at at http://developers.facebook.com/docs/api/.
You need to
authenticate (get an access token)
know your friend's ID
do an HTTP POST to the right URL to create posts or like existing posts.
The section labelled "Publishing" on the aforelinked documentation page shows how to do this.