Fixed some spelling mistakes in the README
This commit is contained in:
parent
ccb933f026
commit
21cef64e88
@ -10,12 +10,12 @@ Example usage:
|
|||||||
|
|
||||||
php getrequesttoken.php
|
php getrequesttoken.php
|
||||||
|
|
||||||
Gets and request token, token secret and a url to authorize it. Once
|
Gets a request token, token secret and a url to authorize it. Once
|
||||||
you get the token/secret you can exchange it for an access token...
|
you authorize the request token you can exchange it for an access token...
|
||||||
|
|
||||||
php exchangetokens.php --oauth_token=b9a79548a88c1aa9a5bea73103c6d41d --token_secret=4a47d9337fc0202a14ab552e17a3b657
|
php exchangetokens.php --oauth_token=b9a79548a88c1aa9a5bea73103c6d41d --token_secret=4a47d9337fc0202a14ab552e17a3b657
|
||||||
|
|
||||||
Once you have your access token, go ahead and try an protected API
|
Once you have your access token, go ahead and try a protected API
|
||||||
resource:
|
resource:
|
||||||
|
|
||||||
php verifycreds.php --oauth_token=cf2de7665f0dda0a82c2dc39b01be7f9 --token_secret=4524c3b712200138e1a4cff2e9ca83d8
|
php verifycreds.php --oauth_token=cf2de7665f0dda0a82c2dc39b01be7f9 --token_secret=4524c3b712200138e1a4cff2e9ca83d8
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
; Setup OAuth info here
|
; Setup OAuth info here
|
||||||
apiroot = "http://dev.controlyourself.ca/zach/api"
|
apiroot = "http://YOURSTATUSNET/api"
|
||||||
|
|
||||||
request_token_url = "/oauth/request_token"
|
request_token_url = "/oauth/request_token"
|
||||||
authorize_url = "/oauth/authorize"
|
authorize_url = "/oauth/authorize"
|
||||||
|
Loading…
Reference in New Issue
Block a user