Skip to content

Python WebKitGTK+ browser for Facebook's desktop authorization (OAuth 2.0).

License

Notifications You must be signed in to change notification settings

vrruiz/FacebookAuthBrowser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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.

Requires Python and PyGTK+.

(C) 2011 Víctor R. Ruiz <rvr@linotipo.es>


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)

About

Python WebKitGTK+ browser for Facebook's desktop authorization (OAuth 2.0).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages