开发者

How to connect an application with Facebook?

开发者 https://www.devze.com 2022-12-14 05:07 出处:网络
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).

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.


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.


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.

  1. http://uswaretech.com/blog/2009/02/how-to-build-a-facebook-app-in-django/
  2. http://lethain.com/entry/2007/dec/04/two-faced-django-part-1-building-project-exists-si/
0

精彩评论

暂无评论...
验证码 换一张
取 消