Hello,
Im trying to learn about creating applications for Facebook using PHP . I created a simple hello world app,named myapp,using php. I have registered the app on facebook and also hosted the facebook php client client library on the server hosting my app. But when i go to http://apps.facebook.com/myapp/, i get a blank page. Any way to fix this ? Below is the code :
<?php
require_once('./facebook/php/facebook.php');
/* initialize the facebook API with your application API Key
and Secret */
$facebook = new Facebook(1a3c459414c9cacad4b250af86092412,6253dc1b7573dc870b97838d9f3bf39a);
$fb_user = $facebook->require_login();
?>
Hello <fb:name uid='<?php echo $fb_user; ?>' useyou='false' possessive='true' />! Welcome to my first application!
<?php
echo "<pre>Debug:" . print_r($facebook,true) . "</pre>";
?>
Thank You.