You are currently browsing posts tagged with ‘php’

development a “hello world”application with facebook api

posted in: Program, Project, Research (Tags: , , , ) - 11 Comments

first of all, you need download facebook PHP Client Libraries. Extract package to you work path. open the directory, there are two sub-directory, PHP directory is libraries, you need use it to develop application. and a example directory called foodpoints. Open PHP directory, creating two PHP files – index.php and config.php.

In config.php:

< ?php
$api_key = '[API_KEY]';&amp;amp;nbsp; // your apps api key
$secret&amp;amp;nbsp; = '[SECRET_KEY]'; // your apps secret key
$backurl="http://liduan.com/fb/start";&amp;amp;nbsp; your call back web url
?>

READ MORE