kausha-mehta / php-twitter

Automatically exported from code.google.com/p/php-twitter
0 stars 0 forks source link

since_id is not an int #43

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Using userTimeline('ricardovazquez', '5', '', '2490047373'); I get this:

 > GET /statuses/user_timeline/ricardovazquez.xml?
id=ricardovazquez&count=5&since_id=2147483647

When I should get this:

>GET 
/statuses/user_timeline/ricardovazquez.xml?id=ricardovazquez&count=5&since_id= 
2490047373

In the code if I remove the (int) cast before $since_id the problem is gone. 
Suggest using (float) 
cast.

Original issue reported on code.google.com by rix...@gmail.com on 15 Jul 2009 at 2:08

GoogleCodeExporter commented 8 years ago
Sorry for double posting

Original comment by rix...@gmail.com on 15 Jul 2009 at 2:09