Kukuh Tw   Develop Facebook Application
Upcoming SlideShare
Loading in...5

Kukuh Tw Develop Facebook Application






Total Views
Views on SlideShare
Embed Views



7 Embeds 293

http://freshyourmind.com 101
http://www.freshyourmind.com 96
http://facebookdevelopers.or.id 77
http://www.slideshare.net 10
http://wildfire.gigya.com 4
http://fresh.strategocorp.com 4 1


Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

Kukuh Tw   Develop Facebook Application Kukuh Tw Develop Facebook Application Presentation Transcript

  • Develop Facebook Application Facebook Developer Garage Indonesia Jakarta , March 28, 2009 Kukuh TW - Web and Mobile Application Freelance Developer kukuhtw@gmail.com
  • 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 document. http://apps.facebook.com/balihotelmap source : http://BalihotelMap.com
  • 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.
  • 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/packages/facebook-platform.tar.gz • Or just go to http://developers.facebook.com/get_started. php
  • 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. 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));
  • 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 }
  • 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 }
  • 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 status
  • 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/
  • Thank You !