如何访问fb访问令牌表单服务器运行程序(python) [英] How to access fb access token form server running program ( python )

查看:179
本文介绍了如何访问fb访问令牌表单服务器运行程序(python)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了一个fb应用程序,前端端对我自己的数据库工作很好。

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

现在我想制作一个通过命令行运行到我的fb帐户的python程序。
我知道这一点,我需要访问访问令牌,因为我遇到这个访问我的应用程序外面的fb不能正常工作,除非运行在fb的iframe。
所以有一个python sdk等,所以我可以访问访问令牌或存储访问令牌在数据库中,所以python可以拉出来,然后使用python sdk发布,如果存在。

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.

感谢

推荐答案


PyFacebook是一个薄薄的包装器,用于访问Facebook的RESTful API通过Python。

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

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


facebook-sdk,一套必不可少的在Python中使用Facebook的工具。
django-facebook,一个用于构建Facebook集成站点的可扩展django插件。

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/

这篇关于如何访问fb访问令牌表单服务器运行程序(python)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆