如何将应用程序与 Facebook 连接?
主题可能有点模糊。 我正在编写一个 Python 应用程序。我想将其作为 Facebook 应用程序上传到 Facebook(不是 Facebook Connect)。 但我在弄清楚如何使用 Facebook 实现我的应用程序的功能时遇到了最困难的时间。
我的应用程序当前使用 MySQL 数据库。现在我希望 Facebook 用户使用我的应用程序并将结果存储在他/她的帐户中。我该怎么做?我不敢说出来,但我有点害怕所有的文件。因此,如果有人能给我一些指示,我将非常感激。
The topic may be a bit ambiguous.
I am writing a Python application. I want to upload it on Facebook as a Facebook application (NOT Facebook Connect).
But I am having the hardest time figuring out how to implement the features of my application with Facebook.
My application currently uses a MySQL database. Now I want a user of Facebook to use my application and store the results in his/her account. How do I do it? I am afraid to say it but I am a bit scared of all the documentations. So if someone could give me some pointers, I would really really appreciate it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有一个很好的支持 Django 的 Facebook 库,pyfacebook。该包中有一些如何使用它的示例。
实际的 Facebook 开发人员文档 是无可替代的 - 它是用 PHP 编写的请注意,但您可以通过 Python 库使用相同的 API 调用。
然而,我们无法通过 StackOverflow 为您提供完整的教程。如果您有任何具体问题,请询问他们。
There is a good Facebook library that supports Django, pyfacebook. There are some examples in that package of how to use it.
And there's no substitute for the actual Facebook developer documentation - it's written with PHP in mind, but you can use the same API calls via the Python library.
However we can't really give you an entire tutorial via StackOverflow. If you have any specific questions, please ask them.
阿米特,除了上面的链接之外,还可以看看下面的链接。另请注意:您提到您想“将您的应用程序上传到 Facebook”,您可以将您的应用程序添加到 Facebook,但他们不托管它。您必须在自己的服务器上托管该应用程序。
Amit, in addition to the links above also have a look at the following links. Also note: You mention you would like to 'upload your app into facebook' you can add your app to facebook, however they DO NOT host it. You will have to host the application on your own server.