Professional Documents
Culture Documents
Application
Wasu Khaodee
Kanda Runapongsa Saikaew
Computer Engineering
Khon Kaen University
Facebook Application Types
1. Run on web-browser
1.1 A Website
1.2 Canvas Application
(Apps on Facebook.com)
2. Run on a platform
- Mobile Application
In this slide, we focus on developing Canvas Application
Focused Facebook APIs
1. Graph API
• The Graph API is the core of Facebook Platform, enabling
you to read and write data to Facebook
• “nested query” is not supported by Graph API and in many
cases, we need to get the data with multiple Graph API
requests
2. FQL (Facebook Query Language)
• FQL is designed to condense Facebook queries and reduce
response size
• Has similar syntax with SQL but there are somethings that
cannot be done in FQL such as
o No Group by
What is Graph API?
here
Creating Your Canvas App (2/4)
Apps URL
host URL
Creating Your Canvas App (4/4)
Like http://apps.facebook.com/fbpublishpage
Current UI
Result from posting message to a
friend's wall
result from the program
Reference
• http://developers.facebook.com/docs/
• http://www.slideshare.net/csaila/fql-overview
• http://www.takwing.idv.hk/
• Sample Code