note 111621 added to oauth.examples.fireeagle

From: Date: Sat, 09 Mar 2013 00:26:47 +0000
Subject: note 111621 added to oauth.examples.fireeagle
Groups: php.notes 
Request: Send a blank email to php-notes+get-194004@lists.php.net to get a copy of this message
I have just managed to modify this script to work with the Twitter API... The changes are... $req_url = 'https://api.twitter.com/oauth/request_token'; $authurl = 'https://api.twitter.com/oauth/authorize'; $acc_url = 'https://api.twitter.com/oauth/access_token'; $api_url = 'https://api.twitter.com/1.1/account'; $conskey = 'YOURAPPconskey'; $conssec = 'YOURAPPconssec'; And change #$oauth->fetch("$api_url/user.json"); # verify_credentials # TO $oauth->fetch("$api_url/verify_credentials.json"); ---- Server IP: 69.147.83.199 Probable Submitter: 94.197.127.64 ---- Manual Page -- http://php.net/manual/en/oauth.examples.fireeagle.php Edit -- https://master.php.net/note/edit/111621 Del: integrated -- https://master.php.net/note/delete/111621/integrated Del: useless -- https://master.php.net/note/delete/111621/useless Del: bad code -- https://master.php.net/note/delete/111621/bad+code Del: spam -- https://master.php.net/note/delete/111621/spam Del: non-english -- https://master.php.net/note/delete/111621/non-english Del: in docs -- https://master.php.net/note/delete/111621/in+docs Del: other reasons-- https://master.php.net/note/delete/111621 Reject -- https://master.php.net/note/reject/111621 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#194004) next »