I’m an admin of a few facebook pages.
Every time I post a message as the admin (the page itself), I’d like to count the number of likes and comments on that post and, which user did so and save the data to my db.
Is it possible to do that?
Please notice that it’s not the comments plugin, but the page posts.
I’m an admin of a few facebook pages. Every time I post a message
Share
Do a HTTP Get
/me/feedon the Graph API to get a list of feed items using a PAGE access token.Each feed item will have
likesproperty “Structure containing a data object and the count of total likes, with data containing an array of objects, each with the name and Facebook id of the user who liked the post“Each feed item will also have a
commentsproperty “*Structure containing a data object containing an array of objects, each with the id, from, message, and created_time for each comment*”