A month ago today, at the f8 conference in San Francisco, Facebook announced a brand new suite of APIs and protocols. One of the most exciting of these, the Graph API, aims to bring simplicity and consistency to the way developers interact with resources on Facebook. It is a complete overhaul of the original API, and therefore all the existing client libraries are incompatible. Facebook released an official Python SDK, but usage is not as clean as we’d like it to be.
We’ve been working on a solution and we’re releasing it to the world: pyFaceGraph. It provides an easy and flexible way to access the Graph API, which won’t break as Facebook add new capabilities. At the moment, the client itself contains only 72 lines of code. It’s been released into the Public Domain via the Unlicense, so you’re free to use the code however you like.
The Graph isn’t the only part of Facebook’s new API offering; we plan to release OAuth 2.0 helpers for Django and WSGI applications, to make federated authentication with Facebook as simple as possible.
No Comments Yet
You can be the first to comment!
Leave a comment