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;nbsp; // your apps api key $secret&amp;nbsp; = '[SECRET_KEY]'; // your apps secret key $backurl="http://liduan.com/fb/start";&amp;nbsp; your call back web url ?>