Updating Facebooks Status Using Python

Is there an easy way to update my Facebook status (β€œWhat do you think?”) Using Python code?

+3
source share
2 answers

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') 
+12
source

The Facebook developer site for Python is a great place to start. You must do this with a REST call.

http://wiki.developers.facebook.com/index.php/Python

+3
source

All Articles