Can we get the count of the number of posts in fb using graph api v2.3?
I need to get the number of shares of a specific post in the fb uisng graph api. I couldn't find a way to do this. I followed the link below.
https://developers.facebook.com/docs/graph-api/reference/v2.3/object/sharedposts
It returns general message data in pagination format. Is there a way to get a total stock score without collecting all the data and without pagination?
Please suggest !!
+3
source to share
2 answers
Get the number of shares:
114916098537132_1265715836790480?fields=shares
Bonus [Get Likes + Promotions + Comments]
114916098537132_1265715836790480?fields=shares,likes.summary(true),comments.summary(true)
Improved version (add constraint (0) to remove liked list and get only summary):
114916098537132_1265715836790480?fields=shares,likes.limit(0).summary(true),comments.limit(0).summary(true)
+3
source to share