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.
then upload to your hosting.
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
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
- include_once("facebookapi/facebook.php");
- // Get these from http://developers.facebook.com
- $api_key = 'API KEY';
- $secret = 'API SECRET';
- $facebook = new Facebook($api_key,$secret,true);
- $user = $facebook->require_login();
- $session_key = $facebook->api_client->session_key;
- $facebook->api_client->set_user($user,$session_key);
- echo 'Hello world from facebook';
- ?>
0 komentar:
Posting Komentar