Facebook PHP Demo

Facebook Graph API Example

This page demonstrates how to use Facebook Graph API to get some data from Facebook. First part of PHP code gets basic data of logged user and write it to page. Second part gets data about user's friends and write their names.

Application is not yet authorized or connection with Facebook is not established. Press the login button.