how to make the application on facebook within 5 minutes - UNIT F
Headlines News :
English French German Spain Italian Dutch Russian Portuguese Japanese Korean Arabic Chinese Simplified
Hosting Indonesia
Toko Buku Online Terlengkap
Home » » how to make the application on facebook within 5 minutes

how to make the application on facebook within 5 minutes

Written By Unknown on Rabu, 22 Juni 2011 | 02.09


Maybe you've seen the status of your facebook friends who send status via a public telephone, telephone kiosk, blackberry, etc.. It did not take long to make the application, we just start.

1. visit http://www.facebook.com/developers/createapp.php
2. after that then you will be sent to a page to setup your application name
 3. Next you'll be given the API Key and Secret. this is what servesas the key to linking your application with Facebook.
    

4. After that go to the canvas page by clicking the menu beside
    

5. Enter the name of your application and your application url
    

NEXT Make the file index.php and enter the code below

  1.   
  2. include_once("facebookapi/facebook.php");  
  3.   
  4. // Get these from http://developers.facebook.com  
  5. $api_key = 'API KEY';  
  6. $secret  = 'API SECRET';  
  7.   
  8. $facebook = new Facebook($api_key,$secret,true);  
  9.   
  10. $user = $facebook->require_login();  
  11. $session_key = $facebook->api_client->session_key;  
  12. $facebook->api_client->set_user($user,$session_key);  
  13.   
  14. echo 'Hello world from facebook';  
  15. ?>  
then upload to your hosting.
Share this article :

0 komentar:

Posting Komentar

TEMPAT JUAL BELI TEMPLATE/ SALE YOUR TEMPLATE

melayang


 
Support : Creating Website | UNIT F | unitf blog
Copyright © 2011. UNIT F - All Rights Reserved
Template Modify by M.R.F
Proudly powered by Blogger