majkel
majkel

Reputation: 51

Access-token to Instagram graph API for backoffice standalone application

I am developing backoffice standalone application that gathers some data from facebook API and stores it in local DB for reporting purposes. Now I need to read some metrics from Instagram account (also via facebook graph API). I read this tutorial: https://developers.facebook.com/docs/instagram-api/getting-started , but as far as I understand it it is designed for web applications. Durig the registration process some screencasts are required that are irrelevant in my case.

I just need access token that will allow me to read metrics from my Instagram account that is connected to my facebook page. Does anyone know how to get it?

Upvotes: 4

Views: 3427

Answers (1)

georgeperry
georgeperry

Reputation: 204

Check out this post: facebook: permanent Page Access Token?

This gives a pretty comprehensive walkthrough of how to get a short-lived, long-lived and permanent access token via the Graph API.

It may be a little late in your case but if you're still looking for a solution without building any front-end, then you could use the Graph API Explorer (https://developers.facebook.com/tools/explorer/) to obtain a shorted-lived token, then follow the steps in the link above to acquire the permanent token, which can all be done via your own back-end. Be aware that the short-lived tokens give you between 1 and 2 hours of use before they need renewing.

Upvotes: 1

Related Questions