O'Reilly logo

Facebook Application Development with Graph API Cookbook by Apeksha Singh, Shashwat Srivastava

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 4. Using FB Script

In this chapter, we will cover:

  • Getting the current user status and performing session validation
  • Setting up extended permissions during login
  • Logging out a user
  • Resetting the size of iframe
  • Making a Graph API call
  • Executing an FQL query
  • Subscribing to an event change
  • Unsubscribing to an event change
  • Retrieving a profile picture using XFBML
  • Adding bookmarks using XFBML
  • Authentication and setting up extended permissions using XFBML

Introduction

Facebook has its own JavaScript SDK which provides a rich set of features and functionalities through JavaScript. This relieves the load off the server and makes the application load faster. The client-side authentication and rendering provides a great user experience as the content becomes ...

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