Facebook Reactions total count -


i trying response graph api on total count of each reactions in json response.

for example:

{   "data": {     "like": 1242,     "wow": 674,     "sad": 2500     ......   } } 

currently have following "{postid}/reactions/?fields=type" not returning count each. have solution recent update in facebook api?

https://developers.facebook.com/tools/explorer/

https://developers.facebook.com/docs/graph-api/reference/post/reactions

i figured out json response not same format works me.

?fields=reactions.type(like).summary(total_count).limit(0).as(like),reactions.type(love).summary(total_count).limit(0).as(love),reactions.type(wow).summary(total_count).limit(0).as(wow),reactions.type(haha).summary(total_count).limit(0).as(haha),reactions.type(sad).summary(total_count).limit(0).as(sad),reactions.type(angry).summary(total_count).limit(0).as(angry) 

Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -