pyfacebook

Facebook API and Python [closed]

℡╲_俬逩灬. 提交于 2019-11-30 10:26:44
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . Does anyone know of a good platform agnostic example or library that does Facebook authentication and Graph API access via Python? The

Update status Facebook using Python

自作多情 提交于 2019-11-30 07:46:55
I'm trying the solve problem update status using facebook API with pyfacebook . So I look at here Update Facebook Page's status using pyfacebook and I think doesn't work anymore. Well, finally I solve the problem: #!/usr/bin/python import facebook # Replace these with your app's credentials api_key = 'YOUR_API_KEY' secret_key = 'YOUR_SECRET_KEY' client = facebook.Facebook(api_key, secret_key) client.auth.createToken() client.login() print '[*] Please login / give permission application to access you . Then press enter key to continue...', raw_input() try: client.auth.getSession() client

Facebook API and Python [closed]

房东的猫 提交于 2019-11-29 20:27:36
Does anyone know of a good platform agnostic example or library that does Facebook authentication and Graph API access via Python? The official Facebook Python SDK is tied to Google App Engine and Pyfacebook is deeply woven with Django. I just want to be able to mess around in terminal and go through the process of authenticating a user and then doing simple requests from the Facebook API. Thanks. I ran across same problem some time ago and later found out that PyFacebook isn't deeply tied up with Django. It just uses a few utils from django. My recommendation is that you setup PyFacebook

Python - Facebook API - Need a working example

独自空忆成欢 提交于 2019-11-29 18:48:51
Ok, so i've googled around, i've found threads here on stackoverflow and i've checked the official Facebook wiki and.. and what not.. I now hope that one of you guys sits on a Facebook API sample code for Python. This is what i've got so far and all i get is "Invalid Signature" via PyFacebook which appears to be a dead project: from facebook import Facebook api_key = '123456789______' secret = '<proper secret key>' OTK = 'XXXXX' # <-- You get this from: https://www.facebook.com/code_gen.php?v=1.0&api_key=123456789______ long_term_key = None fb = Facebook(api_key, secret) def generate_session

Python - Facebook API - Need a working example

青春壹個敷衍的年華 提交于 2019-11-28 13:43:43
问题 Ok, so i've googled around, i've found threads here on stackoverflow and i've checked the official Facebook wiki and.. and what not.. I now hope that one of you guys sits on a Facebook API sample code for Python. This is what i've got so far and all i get is "Invalid Signature" via PyFacebook which appears to be a dead project: from facebook import Facebook api_key = '123456789______' secret = '<proper secret key>' OTK = 'XXXXX' # <-- You get this from: https://www.facebook.com/code_gen.php?v