aartiles
aartiles

Reputation: 1489

Instagram API Error: Client request limit reached

I am getting this error whenever I try to follow someone on Instagram via API no matter how many follows have been done before:

{"meta":{"error_type":"APIError","code":400,"error_message":"Client request limit reached"}}

My app allows authenticated users to follow interesting people. I know that there is a 5000 call/hour limit per authenticated user, but it fails even with new users. Do my app is reaching some kind of client level limit?

Upvotes: 4

Views: 3733

Answers (2)

hharnisc
hharnisc

Reputation: 927

In this case it looks like it would be beneficial to get some more data from your users. You could use Google analytics to track the "follow" action

https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide

This would give you a timestamp and information about user behavior.

Even with an advertised rate of X requests per hour, one user hammering the service with your API key can cause everyone to get throttled. (Not guaranteed, but pretty common practice for companies to keep their services alive)

It might be a good idea to reset your API, its possible (though unlikely) that someone has acquired your key and is using it.

Upvotes: 0

Abhinandan N.M.
Abhinandan N.M.

Reputation: 372

APIs like follow, unfollow, comment are limited to 350 requests per hour. However sending requests from client side will fix this problem to some extent but it allows the users to see your API token.

Upvotes: 1

Related Questions