Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
vrruiz committed Nov 4, 2011
1 parent 0b0df57 commit 791219b
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions README
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
facebookAuth.py
===============
Facebook Authentication Browser for Python
==========================================

Creates a web browser using GTK+ and WebKit to authorize a desktop
application in Facebook. It uses OAuth 2.0. Requires the Facebook's
Application ID. The token is then saved to FB_TOKEN_FILE.
Application ID. The token is then saved to FB_TOKEN_FILE.

Requires Python and PyGTK+.

(C) 2011 Víctor R. Ruiz <[email protected]>


Howto
-----
This is an example application.

import FacebookAuth
# Creates the browser
auth = FacebookAuth.Browser(app_key=FACEBOOK_APP_KEY, scope='offline_access,read_stream')
# Launch browser window
auth.authorize()
# Token available?
print "Token: %s" % (auth.token)

0 comments on commit 791219b

Please sign in to comment.