ThatSnail

Untitled

Nov 30th, 2012
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. require_once('tmhOAuth/tmhOAuth.php');
  2.  
  3. $connection = new tmhOAuth(array(
  4. 'consumer_key' => '******',
  5. 'consumer_secret' => '******',
  6. 'user_token' => '******',
  7. 'user_secret' => '******'
  8. ));
  9.  
  10. $connection->request('GET',
  11. $connection->url('1/account/verify_credentials')
  12. );
  13.  
  14. return $connection->response['code'];
Advertisement
Add Comment
Please, Sign In to add comment