I am trying to retrieve metrics post_impressions_unique
, post_consumptions
or anything started with a post
but Facebook always return empty array for me.
Anyone know what is the problem here?
Are you sure you have the right permissions?
You need read_insight permissions to view post impressions using fql or the graph api.
Here is more information Facebook Developer Guide
Make sure you pass in the entire object ID of the post. It will be of the format pageid_postid (eg. 24379523495_8924592457245) and you need to quote it in single quotes - otherwise you'll get an error about an unexpected underscore.
As well as needing the read_insights permission, this information is only available for posts made by your page, so check you're actually checking the right posts