Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is python a stable platform for facebook development?

I'm trying to build my first facebook app, and it seems that the python facebook (pyfacebook) wrapper is really out of date, and the most relevant functions, like stream functions, are not implemented.

Are there any mature python frontends for facebook? If not, what's the best language for facebook development?

like image 810
Adam Matan Avatar asked Jun 22 '09 15:06

Adam Matan


People also ask

Can you use Python on Facebook?

To be able to extract data from Facebook using a python code you need to register as a developer on Facebook and then have an access token. Here are the steps for it. Go to link developers.facebook.com, create an account there. Go to link developers.facebook.com/tools/explorer.

Does Mark Zuckerberg use Python?

You can like him or not, Mark Zuckerberg is a programmer genius. Either you code on Python, R, C#, Java, C++, or any other programming language; in this article, I referenced top universal advice from Mark Zuckerberg to code like him.


4 Answers

The updated location of pyfacebook is on github. Plus, as arstechnica well explains:

PyFacebook is also very easy to extend when new Facebook API methods are introduced. Each Facebook API method is described in the PyFacebook library using a simple data structure that specifies the method's name and parameter types.

so, even should you be using a pyfacebook version that doesn't yet implement some brand-new thing you need, it's easy to add said thing, as Ryan Paul shows here regarding some of the stream functions (back in April right after they were launched).

like image 140
Alex Martelli Avatar answered Oct 02 '22 18:10

Alex Martelli


Facebook's own Python-SDK covers the newer Graph API now:

http://github.com/facebook/python-sdk/

like image 37
Anentropic Avatar answered Oct 02 '22 20:10

Anentropic


Try this site instead.

It's pyfacebooks site on GitHub. The one you have is outdated.

like image 20
samoz Avatar answered Oct 02 '22 20:10

samoz


If you're a facebook newbie, I'd suggest doing your first couple of apps in PHP. Facebook is written in PHP, the APIs are really designed around PHP (although they are language-neutral, theoretically.) The latest API support and most of the sample code is always in PHP.

Once you get the hang of it, you can definitely write FB apps in other languages, including Python, Actionscript, etc. But my experience with other platforms is that they never work "out of the box" with Facebook the way PHP does.

This is nothing against python! I like the language alot.

like image 38
Vineel Shah Avatar answered Oct 02 '22 19:10

Vineel Shah