Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Page - Get Post feedback and impression via Graph API

I'm trying to get some insights on a list of Posts by a Page on Facebook.

To be specific, I want to get the information highlighted in this blog post via the API.

But I can't figure out how, anyone knows how?

like image 934
MartinHN Avatar asked Dec 07 '25 02:12

MartinHN


2 Answers

As far as I know it's only possible using the "stream" table. So you've got to use FQL to query this data. Using this technique you'll only get the impressions directly. Feedback rate can be calculated by adding #comments and #likes and dividing the result by #impressions. Hope they'll add this to the insights graph api as well.

like image 109
Jan Olaf Krems Avatar answered Dec 09 '25 03:12

Jan Olaf Krems


MartinHN

Refer to https://developers.facebook.com/docs/reference/api/#analytics

If you are trying to aggregate multiple pages or a page other than the requesting app then you may need grant read_insights permissions to your application. Refer to http://developers.facebook.com/docs/reference/api/insights/

like image 25
ShawnDaGeek Avatar answered Dec 09 '25 04:12

ShawnDaGeek



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!