I hope you can still keep your patience as up to now, we still haven't started doing concrete works in migrating Our 1st FB App to use the JavaScript SDK.

The reasons for not starting the migration are:

Now back to the subject, in this part of the tutorial, we will learn now to make Graph API call via the JavaScript SDK.

 

How the JavaScript SDK calls the Graph API

If you have read the official reference document on the JavaScript SDK, you will notice that the FB.api is listed as the first API of the core methods. This FB.api method is the one that JS uses to call Graph API!

 

Getting the User's Friend List via the Graph API


We will further discussed how to format the data for display in next tutorial.