Hi,
Yes, I had the same doubt, so I replaced a month back's TwitterAPI.php
file and tried to run, but no happy moment and saw same error.
Actually I was working on another module of this project so was not in
touch with this, now I tried to run this but
I don't understand why this is so because it was running perfectly few
days back, but started giving error now.
When I access ratelimit status through request URL it gives me data in
value form not in (key-value) of xml format as it was giving previously.
twitter is a class and ratelimit method has no arguments passed neither
before nor now.
your help will be greatly appreciated,
Rushi
On Mon, May 17, 2010 at 9:49 PM, Abraham Williams <[email protected]> wrote:
> Did you recently update TwitterAPI.php? It sounds like twitter() or
> ratelimit() need an argument passed int.
>
> Abraham
>
>
> On Mon, May 17, 2010 at 03:39, Rushikesh Bhanage
> <[email protected]>wrote:
>
>> Hi there,
>>
>> I am using this (sample code)code to get ratelimit status:
>> <?php
>>
>> include("TwitterAPI.php");
>> $t = new twitter();
>>
>> $ratearr = $t->ratelimit();
>>
>> print_r($ratearr);
>>
>> ?>
>> ratelimit() function contains the url:"
>> http://api.twitter.com/1/account/rate_limit_status.xml". I was getting
>> rate limit status with this up till now but now it gives error as "invalid
>> arguments supplied. "
>> But when I paste the same URL in address bar, I get rate_limit_status.
>>
>> why this is so?
>>
>>
>> Rushi.
>>
>>
>>
>>
>
>
> --
> Abraham Williams | Developer for hire | http://abrah.am
> @abraham | http://projects.abrah.am | http://blog.abrah.am
> This email is: [ ] shareable [x] ask first [ ] private.
>