Application Development With Old facebook APIs -
i want develop facebook applications , have bought books amazon. books contents old facebook apis. (2008-2009). can develop applications old api? or have use new version?
you can still use old api's, can imagine discouraged. read more in facebook developer documentation.
edit given name, assume know bit of php. started go http://www.facebook.com/developers , create new application. facebook presents following tutorial, think should able follow:
step 1: download facebook's php library
extract archive directory on hosting server can host , run php code:
$ curl -l http://github.com/facebook/php-sdk/tarball/master | tar xvz $ mv facebook-php-sdk-* facebook-php-sdk $ cp facebook-php-sdk/examples/example.php index.php
step 2: replace ids in index.php have own app information
it should when you're done:
<?php // awesome facebook application // // name: yourappname // require_once 'facebook-php-sdk/src/facebook.php'; // create our application instance. $facebook = new facebook(array( 'appid' => 'change_to_your_own_app_id', 'secret' => 'change_to_your_own_secret', 'cookie' => true, ));
Comments
Post a Comment