It uses Graph API of Facebook. Use your own login to get data from all Methods. It gives you everything like UserName, email, user profile picture, all albums, all friends etc etc.
This is the code Getting User’s Profile Data from Facebook in iPhone.