Account/verify_credentials does not actually count against your rate limit
so you can call that each time a user signs in.

In general you should cache any data that takes a long time to poll from the
API or anything that does not change often.


On Wed, Feb 17, 2010 at 17:52, Dmitri Snytkine <> wrote:

> Hello!
> I am just starting developing my app. I got the oAuth thing to work
> using pecl oauth, which is great and was easy.
> Now the question: What should I do after user is logged via oAuth, and
> after I got array of user data from this url:
> I have 2 choices: store the data in the database and put cookie in
> user's browser and next time user visits, I can just pull the
> username, name, etc from my database
> Or I can use user's access token/secret that I also store in database
> to get the fresh data from Twitter.
> Getting fresh data will guarantee that I have user's latest color
> settings, background, avatar, description
> But I may run over 150 requests per hour very easily.
> How is this usually done by other app developers? What's the best
> practice for synchronizing user's settings with Twitter?

Abraham Williams | Community Advocate |
Project | Out Loud |
This email is: [ ] shareable [x] ask first [ ] private.

Reply via email to