[ create a new paste ] login | about

Link: http://codepad.org/NngSyam6    [ raw code | fork ]

racerxdl - PHP, pasted on Sep 7:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?
include("tmhOAuth.php");

        $tmhOAuth = new tmhOAuth(array(
          'consumer_key'    => "Sua Consumer Key",
          'consumer_secret' => "Seu Consumer Secret",
          'user_token'      => "Seu Access Token",
          'user_secret'     => "Seu Access Secret",
        ));

        $code = $tmhOAuth->request('POST', $tmhOAuth->url('1/statuses/update'), array(
          'status' => "Teste do Lets Hack It! Em #PHP!"
        ));
?>


Create a new paste based on this one


Comments: