Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
728 views
in Technique[技术] by (71.8m points)

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

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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/


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...