codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
<? 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!" )); ?>
Private
[
?
]
Run code
Submit