Chapter 7. Facebook

Facebook is the 900 lbs (408.233 kg) gorilla of the social media world. Literally created in a university dorm, Facebook has grown to have 1.1 billion active users. That's one out of every seven people on the planet. It has impressive sway to say the least. No book about using social media APIs could be complete without an investigation of how to use Facebook's API.

Creating an app

As you might expect for such a large site, there are numerous APIs available for building applications related to Facebook. The simplest involve integrating "post to Facebook" buttons in websites or mobile apps, and the most complicated allow you to actually run the code on Facebook's servers as an app. We're going to make use of the Graph API.

The ...

Get Data Visualization: Representing Information on Modern Web now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.