Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Bare minimum Facebook OAuth2 client

Project Description

Bare minimum Facebook OAuth2 client

Usage

from fboauth2 import FBClient
fbclient = FBClient(CLIENT_ID, CLIENT_SECRET, scope='publish_stream',
                    redirect_uri='http://example.com/callback')
# Point users to auth url
redirect(fbclient.get_auth_url())
# Pass code to get access token
code = params['code']
access_token = fbclient.get_access_token(code)
# Make graph requests
me = fbclient.graph_request('me')
print me['name']
Release History

Release History

This version
History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
fboauth2-0.1.1-py2.7.egg (4.0 kB) Copy SHA256 Checksum SHA256 2.7 Egg Dec 10, 2012
fboauth2-0.1.1.tar.gz (2.3 kB) Copy SHA256 Checksum SHA256 Source Dec 10, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting