Re: [twitter-dev] getting authenticated user's rate-limit-using rest API.

2010-03-23 Thread Rushikesh Bhanage
Hi there, Yes I got your point Sir and that's the problem automatic switching of user does not take place. Yes authentication is essential, but can I do that using rate_limit_status method(passing user name and password to method) for these two users or OAuth is the option, but it's not possi

Re: [twitter-dev] getting authenticated user's rate-limit-using rest API.

2010-03-22 Thread Mark McBride
Authenticate as the second user. ---Mark http://twitter.com/mccv On Sun, Mar 21, 2010 at 11:55 PM, Rushikesh Bhanage wrote: > Hi, > (Note: In my app, single white listed useraccount's requests are not > sufficient to complete particular task, so i need to switch from one account > to ano

Re: [twitter-dev] getting authenticated user's rate-limit-using rest API.

2010-03-22 Thread Rushikesh Bhanage
Hi, (Note: In my app, single white listed useraccount's requests are not sufficient to complete particular task, so i need to switch from one account to another without breaking operation, if previous A/C's hits got over. ) In my case both the users are authenticated. Now problem is that how

Re: [twitter-dev] getting authenticated user's rate-limit-using rest API.

2010-03-21 Thread Chris Thomson
The rate_limit_status method does not take a username as a parameter. All account methods act on the authenticating user's account (or in the case of an unauthenticated call, the requesting IP address). In order to get each other's rate limit information, you'll need to have both the user's auth

[twitter-dev] getting authenticated user's rate-limit-using rest API.

2010-03-21 Thread Rushikesh Bhanage
Hi, there, I am using rest api method in my app, in that, I have two users(i.e white-listed user accounts.) and need to get each user's account rate-limit request balance, I am using following URL to get request balance. ' http://twitter.com/account/rate_limit_status/'.$unm.'.xml '. Here $unm