9

I have tried all possibilities to get insights for a media post posted in instagram. That's the post which I am trying to get insights for- https://api.instagram.com/oembed/?url=https://www.instagram.com/p/BUs4jxfAtIs/

Clearly endpoints provided by instagram are not sufficient to get any kind of insights data.

And when I try graph api v2.9/1525843122691691052_5512691375/insights I receive an error:

{
  "error": {
    "message": "(#803) Some of the aliases you requested do not exist: 1525843122691691052_5512691375",
    "type": "OAuthException",
    "code": 803,
    "fbtrace_id": "A64kR4gnbfC"
  }
}

Is this even possible? Has anyone been able to do this? The documentation does not help much and looks like not to be up to date.

Alex Harris
  • 6,172
  • 2
  • 32
  • 57
Vaibhav Tekam
  • 2,344
  • 3
  • 18
  • 27
  • 1
    I'm having this same issue and I'm not sure how to get it to work either. – xtheking Sep 15 '17 at 16:24
  • As a quick check, I'm assuming your media object conforms to their note in the docs: `Story insights are only available for stories that are active at the time of the request, even if you have enabled 14-day story retention via the app.` Is that correct? – Kev Oct 23 '17 at 08:48
  • Also, not that this would cause the error you showed, but I noticed you're not sending the required `metric` parameter, unless you just left that off the URL. – Kev Oct 23 '17 at 08:49
  • I have the same error when using the FB instagram `/MY_MEDIA_ID/comments` endpoint. Whereas using the Instagram api gives me the expected results back – A.W. Jan 08 '18 at 11:11
  • 1
    Got this working: first get the media ids via FB endpoint `/insta_business_id/media` This gives other instagram media ids?? When using a media id returned by this and now using it in FB endpoint `/media_id/insights...` does give results back – A.W. Jan 08 '18 at 11:32

0 Answers0