Oryzone / PHPoAuthUserData

Extension library for Lusitanian/PHPoAuthLib to extract user profile data from various oAuth providers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Too Many Requests

travisfisher opened this issue · comments

Due to Twitter's API rate limit restrictions on "https://api.twitter.com/1.1/account/verify_credentials.json" (15 per 15 min), it may be beneficial to lookup the user profile using "https://api.twitter.com/1.1/users/show.json" instead (180 per 15 min).

Right now, I'm getting a "Too Many Requests" response from Twitter if I don't cache the data.

Hi @tgfisher,
Great suggestion, seem very reasonable. Would you like to submit a pull request?

commented

Why don't use application cache for this? Library is not about caching.