How to access fb access token form server running program ( python )

早过忘川 提交于 2019-12-17 21:13:09

问题


I have developed a fb app and the front end side is working great with my own db.

Now I want to make a python program that runs through the command line which posts to my fb account. I know with this I need to access the access token as I come across this while access my app outside fb which does not function properly unless run inside the fb iframe. So is there a python sdk etc so that I can access the access token and or storing the access token in the db so python can pull it out then use the python sdk to post if exists.

Thanks


回答1:


PyFacebook is a thin wrapper for accessing Facebook's RESTful API through Python.

https://github.com/pythonforfacebook/facebook-sdk

facebook-sdk, a set of essential tools for working with Facebook in Python. django-facebook, an extensible django plugin for building facebook integrated sites.

http://www.pythonforfacebook.com/



来源:https://stackoverflow.com/questions/12758961/how-to-access-fb-access-token-form-server-running-program-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!