note 103095 deleted from oauth.fetch by danbrown

From: Date: Fri, 25 Mar 2011 12:09:18 +0000
Subject: note 103095 deleted from oauth.fetch by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-178199@lists.php.net to get a copy of this message
Note Submitter: Jonathon Oates ---- In the example given, note that fetch() does not specify a http_method. Some resources require it, I spent a long time believing my app was broken only to discover Twitter does not work without it! Use something similar with Twitter: <?php OAuth -> fetch('http://api.twitter.com/1/statuses/public_timeline.json', '', OAUTH_HTTP_METHOD_GET); ?>

« previous php.notes (#178199) next »