Check out PyFacebook , which has a tutorial , from ... Facebook!
Probably torn from the documentation on this page and unchecked, you would probably do something like this:
import facebook fb = facebook.Facebook('YOUR_API_KEY', 'YOUR_SECRET_KEY') fb.auth.createToken() fb.login() fb.auth.getSession() fb.set_status('Checking out StackOverFlow.com')
easel source share