Re: [twitter-dev] Fetching @mentions not longer working

2010-05-20 Thread Felix Kunsmann

Am 21.05.2010 um 00:34.43 schrieb Guillermo:
 $feeds = $twitter-OAuthRequest(http://api.twitter.com/1/statuses/
 mention.json, 'GET', array(count=25));

Please note its 'mentions', not 'mention' :)

http://dev.twitter.com/doc/get/statuses/mentions

Gruß,
Felix Kunsmann - fe...@kunsmann.eu

-- 
Blog: http://felix-kunsmann.de/
Galerie: http://galerie.kunsmann.eu/



Re: [twitter-dev] Fetching @mentions not longer working

2010-05-20 Thread Taylor Singletary
Hi Guillermo,

In your code here, it shows you requesting from
api.twitter.com/1/statuses/mention.json when you should be accessing the
plural form api.twitter.com/1/statuses/mentions.json -- which is why you're
getting a Not Found error.

But to be fair, we have been having some issues this week. They will be
ironed out soon.

Taylor


On Thu, May 20, 2010 at 3:34 PM, Guillermo pulsor...@gmail.com wrote:

 Hello,

 I used to have this code working, but suddenly I can't fetch
 @mentions.

 Here are some sample lines of code and the output I'm getting:

 $twitter = new TwitterOAuth($TWITTER_CONSUMER_KEY,
 $TWITTER_CONSUMER_SECRET, $access_key, $secret_key);
 $feeds = $twitter-OAuthRequest(http://api.twitter.com/1/statuses/
 mention.json, 'GET', array(count=25));
 $feeds = json_decode($feeds);

 Normally this would return me a JSON object with the authenticated
 user @mentions. But now I get this:

 {request:/1/statuses/mention.json?

 count=25oauth_consumer_key=REMOVEDoauth_nonce=REMOVEDoauth_signature=REMOVEDoauth_signature_method=HMAC-

 SHA1oauth_timestamp=1274394259oauth_token=oauth_version=1.0a,error:Not
 found}


 I removed my tokens and keys from the above output, but you can get an
 idea with the copied text above.

 Any idea what could be wrong?

 Thanks!