We are building a mobile app on behalf of a corporation. In the app, there needs to be a feed of the Corporation's Instagram feed. The app consumes a server side API where we will implement getting the Instagram feed data, which needs to have the following fields:
- Image URL
- Caption
- Post URL
- Timestamp
We need to use long-lived access tokens so that we can refresh them behind the scenes. A requirement of the app is that there should be no user authorization, since we are displaying a feed for the corporation (i.e. displaying a feed they own)
Can someone advise whether we should use the Basic Display API or the Instagram Graph API and explain how we do it?
The Instagram Graph API provides a way of getting the data we want but the problem lies with getting a long-lived access token, the docs state
Long-lived tokens are valid for 60 days and can be refreshed as long as they are at least 24 hours old but have not expired, and the app user has granted your app the instagram_graph_user_profile permission. Refreshed tokens are valid for 60 days from the date at which they are refreshed. Tokens that have not been refreshed in 60 days will expire and can no longer be refreshed.
This appears to say user interaction is required although our app is a mobile app with a server-side API.
Can anyone help us?