The Facebook Graph API is one of the most useful tools available to app developers today. It is used to integrate Facebook functionality such as login or retrieving photos, friends and other data one might need from Facebook into one's own app.
Detailed instructions on getting facebook-graph-api set up or installed.