Created
June 7, 2012 19:32
-
-
Save pyokagan/2891064 to your computer and use it in GitHub Desktop.
tl;dr of usage of pykoauth2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Add client credentials | |
| pykoauth2 addclient facebook.com CLIENT_ID CLIENT_SECRET | |
| #Make authorization request (starts web server at http://localhost:8080 and prints URL. Point your web browser to this URL) | |
| pykoauth2 authcode facebook.com | |
| #Get access token | |
| pykoauth2 token --server_fqdn facebook.com | |
| #Make authenticated request | |
| pykoauth2curl --data-urlencode 'message=Hello world from pykoauth2!' \ | |
| 'https://graph.facebook.com/me/feed' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment