O'Reilly logo

Social Data Visualization with HTML5 and JavaScript by Simon Timms

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required