We have created an app to display our own feed on our own website. However, we're now exceeding the new rate limit of 500 requests per hour. Instagram says our app does not need review and therefore cannot be upgraded to a "Live" app and take advantage of the higher rate limit. How do we get around this? On a side note, this is a lot of trouble to display our own feed on our own website. Sheesh.
1
votes
You could cache the data instagram returns. I think requesting new data for each pageview is not necesary. One single data-pull for all users every minute or so should be more than enought
- Borjante
Thanks - yes, that sounds like it would work. We're running at about 750 requests per hour and about a peak of 200 users in an hour. I was thinking caching one request per hour but would like to make it as "real-time" as possible.
- user4100391
1 Answers
1
votes
If I got it right, you datafeed is seen by all users, but it's always the same datafeed. So instead of caching it for each user, you could request data each 30 seconds (or less) and store the results in a DB. You should then try always to read feed data from DB but if 15 seconds have passed you should request data from Instagram again.
That would make pretty transaparent to your users