Developing Facebook Application

7,808 views

Published on

This tutorial illustrates how to set up a new Facebook application and also have some sample codes to start using Graph API and FQL

Published in: Technology
2 Comments
1 Like
Statistics
Notes
No Downloads
Views
Total views
7,808
On SlideShare
0
From Embeds
0
Number of Embeds
88
Actions
Shares
0
Downloads
174
Comments
2
Likes
1
Embeds 0
No embeds

No notes for slide

Developing Facebook Application

  1. 1. Developing Facebook Application Tutorial Dr. Kanda Runapongsa Saikaew Computer Engineering Khon Kaen University http://twitter.com/krunapon
  2. 2. Go to Facebook Developer Page http://www.facebook.com/developers/
  3. 3. Click "Set up New Application"
  4. 4. Create a New Application
  5. 5. Edit Application Settings Go to Canvas Menu (1) Specify URL of Web application that must be on a real server (2,3) The URL should end with "/" If you want to use FBML, need to select FBML (4)
  6. 6. Save Application Settings
  7. 7. Get started with Sample Code
  8. 8. Follow the Guidelines: Step 1 Should change "kandaapp" to your app name Step 1: Download PHP client library
  9. 9. Follow the Guidelines: Step 2 Edit index.php in your application directory so that it looks similar to this
  10. 10. Follow the Guidelines: Step 3 Test Your application * Go to your canvas application * It should bring a page to ask for your authorization
  11. 11. The Result of the Application This sample code application prints out the ID of your 25 friends who are currently on Facebook

×