title: Developing a facebook application: PHP commands don't work
body: <p>I am trying to create my first FB application and it doesn't seem to work. I am new to PHP but I have followed the instructions to the letter. I have installed the facebook client library on my server. Then I copied the example code provided by Facebook and all I get is a blank page. However, if I only include simple PHP commands such as the following, things work fine. </p>
  
  <blockquote>
    <p>echo 'hello';</p>
  </blockquote>
  
  <p>If I then add another command such as </p>
  
  <blockquote>
    <p>require_once 'facebook.php';</p>
  </blockquote>
  
  <p>I get the blank page again. But if I write the command as follows</p>
  
  <blockquote>
    <p>include_once ('/facebook.php');</p>
  </blockquote>
  
  <p>I still get 'hello' on the page. But this are the only parts of the code that seem to work. If I add the next few lines of the example code</p>
  
  <blockquote>
    <p>$appapikey = '12345etc'; $appsecret =
    '12345etc'; $facebook = new
    Facebook($appapikey, $appsecret);
    $user_id = $facebook->require_login();</p>
  </blockquote>
  
  <p>then I'm back at the blank page.</p>