mbleigh / twitter-auth

Standard authentication stack for Rails using Twitter to log in.
355 stars 48 forks source link

integration with active resource #13

Closed tansaku closed 14 years ago

tansaku commented 15 years ago

Would be great if twitter-auth integrated with active resource. There is an oauth activeresource plugin:

http://blog.behindlogic.com/2008/03/activeresource-oauth-plugin.html

Not sure how much it would take to integrate with twitter-auth, but would be really useful given twitter's throttling of queries.

Many thanks in advance CHEERS> SAM

mbleigh commented 15 years ago

ActiveResource-based Twitter API access would be interesting, but how would that help with API throttling? That would actually cause more requests to the API since instead of mirroring user data locally a new API call would be made each time the resource was accessed.

tansaku commented 15 years ago

I was thinking that ActiveResource can be plugged into caching systems that can be set to expire with the appropriate frequency for twitter

tansaku commented 15 years ago

e.g. activesupport

mbleigh commented 14 years ago

While there's nothing stopping users of TwitterAuth from implementing something along these lines (caching) on their own, I will not be going down this road in the official repository.