[twitter-dev] Correct way to handle statues id using PHP with twitter retweet api

2011-02-25 Thread tianye22
Hi All I am trying to implement the retweet function using the statuses/ retweet/ api. I have encountered a very frustrating problem: If I am passing the status id inside a variable, it does not work Not working: $parameters = array(); $url =

Re: [twitter-dev] Correct way to handle statues id using PHP with twitter retweet api

2011-02-25 Thread Abraham Williams
Some PHP installs have issues with ints the size of newer status_ids. Try using `id_str` from the status object instead of `id`. Also if you are using the latest version of TwitterOAuth I recommend constructing your requests like this: $rtstring = $twitter-post($url); If you have paramaters