[twitter-dev] Abraham OAuth and statuses/retweet causing Not found error...

2010-02-17 Thread Fred Garvin
I keep getting this result for statuses/retweet, I even hard coded the
the status ID to be sure it was valid:

stdClass Object ( [request] = /1/statuses/retweet.json [error] = Not
found ) 1

Here is the php I am using (yes it is a good status id):

$connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET,
oauth_token, oauth_token_secret);
$result = $connection-post('statuses/retweet', array('id' =
'9212486431'));

Any insight is appreciated.


Re: [twitter-dev] Abraham OAuth and statuses/retweet causing Not found error...

2010-02-17 Thread Abraham Williams
Try $result = $connection-post('statuses/retweet/'9212486431');

Twitter might not recognize
http://api.twitter.com/1/statuses/retweet.json?id=status_id

Let me know how it goes.
Abraham

On Wed, Feb 17, 2010 at 14:13, Fred Garvin i...@windpath.com wrote:

 I keep getting this result for statuses/retweet, I even hard coded the
 the status ID to be sure it was valid:

 stdClass Object ( [request] = /1/statuses/retweet.json [error] = Not
 found ) 1

 Here is the php I am using (yes it is a good status id):

 $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET,
 oauth_token, oauth_token_secret);
 $result = $connection-post('statuses/retweet', array('id' =
 '9212486431'));

 Any insight is appreciated.




-- 
Abraham Williams | Community Advocate | http://abrah.am
Project | Out Loud | http://outloud.labs.poseurtech.com
This email is: [ ] shareable [x] ask first [ ] private.
Sent from Seattle, WA, United States