Facebook's graph API doesn't provide all the insights provided on the webapp. Is there a way to generate an access token to log-in on behalf of that user so I can gather that data by parsing the page using a headless browser or something?
The metrics I'm looking for are impressions "from home" and "from hashtags" etc.
So far I haven't been able to find any way to generate a token but I'm not sure if I'm missing something or if I'm able to use the graph API access token directly on Instagram to log-in. I was thinking about inserting the access token inside session storage with a headless browser.
I've also tried creating issues on Facebook's developer bug reports and community forum to get access to those metrics without any success. I'm really stuck right now. The last thing I want to do is ask for user's usernames and passwords to get access to those metrics but I'm starting to think there might not be any other way.