Thin-PHP-Framework
Thin-PHP-Framework copied to clipboard
OAuthTwitter and using it to fetch data from Firehose
Hey there,
I'm trying to use the OAuthTwitter class and fetch other data from twitter feed that require OAuth as follows:
$s = $oauth->fetch('https://stream.twitter.com/1/statuses/filter.json', 'POST', array('follow' => '249987509'), 'json');
But I keep getting 401 Unauthorized responses.
I have ensured that I have passed in the exact same parameters as what the Twitters 'OAuth Tool' generates for cURL command (except oauth_nonce and oauth_signature).
Is the OAuthTwitter class meant to be used for such thing at all?
Hi, It has been a long time I haven't used Twitter OAuth. Because Twitter didn't give me user's email. I'm using Facebook & Google OAuth now.
These are useful sources for investigation: http://code.google.com/p/oauth/ http://code.google.com/p/oauth-everywhere/