Develop Facebook Application
        Facebook Developer Garage Indonesia
              Jakarta , March 28, 2009




      ...
3 methods to build facebook’s
          application

• Third Party
• Iframe
• FBML (Facebook MarkUp Language)
Third Party’s Application
• Make a Quiz (http://apps.facebook.com/makeaquiz/)
Third Party’s Application
• Gift Creator (http://apps.facebook.com/giftcreator )
Iframe
• Iframe is infline frame. HTML element which makes it
  possible to embed an HTML document inside another
  HTML d...
FBML
                                 • Facebook Markup
http://www.facebook.com/apps/

                                   ...
Study Case
• Making Facebook’s Application for Update
  Status Facebook Via Kronologger.com
• Go to facebook.com/developers
• Download Facebook php client library, and
  install on your server
• http://svn.facebook.com/svnroot/platform/cli
  ents...
Upload php client library on your server , create folder
http://yoruservername.com/yourfacebookfolder
• To update status via your application, you
   should set permission for user
      – 1. Status update as True
      – 2....
Status_update
if (!$facebook->api_client->users_hasAppPermission(quot;status_updatequot;)){
     echo '<fb:prompt-permissi...
Offline_access
//offline_access
if (!$facebook->api_client->users_hasAppPermission(quot;offline_accessquot;)){
echo '<fb:p...
Install Application at
http://apps.facebook.com/statuskronologger
By using offline access, you can post / update status via SMS and the
result will displayed on your facebook’s update stat...
You can send sms in Kronologger by using Flexi, Indosat, Telkomsel and Esia




                  For Flexi User : Send to...
Thank You !
Kukuh Tw   Develop Facebook Application
Kukuh Tw   Develop Facebook Application
Kukuh Tw   Develop Facebook Application
Upcoming SlideShare
Loading in …5
×

Kukuh Tw Develop Facebook Application

3,032 views

Published on

Published in: Technology, Self Improvement

Kukuh Tw Develop Facebook Application

  1. 1. Develop Facebook Application Facebook Developer Garage Indonesia Jakarta , March 28, 2009 Kukuh TW - Web and Mobile Application Freelance Developer kukuhtw@gmail.com
  2. 2. 3 methods to build facebook’s application • Third Party • Iframe • FBML (Facebook MarkUp Language)
  3. 3. Third Party’s Application • Make a Quiz (http://apps.facebook.com/makeaquiz/)
  4. 4. Third Party’s Application • Gift Creator (http://apps.facebook.com/giftcreator )
  5. 5. Iframe • Iframe is infline frame. HTML element which makes it possible to embed an HTML document inside another HTML document. http://apps.facebook.com/balihotelmap source : http://BalihotelMap.com
  6. 6. FBML • Facebook Markup http://www.facebook.com/apps/ Language http://wiki.developers.facebook.com/in dex.php/FBML • enables you to build full Facebook Platform applications that deeply integrate into a user's Facebook experience. You can hook into several Facebook integration points, including the profile, profile actions, Facebook canvas, News Feed and Mini-Feed.
  7. 7. Study Case • Making Facebook’s Application for Update Status Facebook Via Kronologger.com
  8. 8. • Go to facebook.com/developers
  9. 9. • Download Facebook php client library, and install on your server • http://svn.facebook.com/svnroot/platform/cli ents/packages/facebook-platform.tar.gz • Or just go to http://developers.facebook.com/get_started. php
  10. 10. Upload php client library on your server , create folder http://yoruservername.com/yourfacebookfolder
  11. 11. • To update status via your application, you should set permission for user – 1. Status update as True – 2. Offline Access as True Snippet code for update status $facebook = new Facebook($appapikey, $appsecret); $facebook->set_user($user, $session); $facebook->api_client->call_method('facebook.users.setStatus', array('api_key' => $appapikey,'uid'=>quot;$userquot;,'status'=>$messages_posting));
  12. 12. Status_update if (!$facebook->api_client->users_hasAppPermission(quot;status_updatequot;)){ echo '<fb:prompt-permission perms=quot;status_updatequot; next_fbjs=quot;greet()quot;>Let us update your status from this application</fb:prompt-permission>'; // your code here if current status update is false } else { // your code here if current status update is true }
  13. 13. Offline_access //offline_access if (!$facebook->api_client->users_hasAppPermission(quot;offline_accessquot;)){ echo '<fb:prompt-permission perms=quot;offline_accessquot; next_fbjs=quot;greet_oa()quot;>Let us update your status (offline access) from this application</fb:prompt-permission>'; // your code here if current offline access is false } else { // your code here if current offline access is true }
  14. 14. Install Application at http://apps.facebook.com/statuskronologger
  15. 15. By using offline access, you can post / update status via SMS and the result will displayed on your facebook’s update status
  16. 16. You can send sms in Kronologger by using Flexi, Indosat, Telkomsel and Esia For Flexi User : Send to 1001 and post anything you want, it will appeared on your facebook’s update status. More info see http://kronologger.wordpress.com/
  17. 17. Thank You !

×