title: Why am i getting Undefined index: HTTP_HOST error?
body: <p>I am using Facebook SDK to post some test wall post on my own facebook page. It works fine when i run the script on my browser but when i run it from terminal it gives me as error as below, i don't know what's wrong please help. I want to post on my facebook page using php CRON scripts like every 6 hours.</p>
  
  <p>Undefined index:  HTTP_HOST error in Facebook/src/base_facebook.php</p>