Facebook session

software development

#1

Hallo all
I am pretty new with facebook applications and I am getting stacked already from the beginning.
Have this code working on another server but not here on dreamhost, does anyone have seen such a problem?
Thanks

<?php require_once 'facebook.php'; $facebook = new Facebook(array( 'appId' => '125840587493385', 'secret' => '53cc1d3aa788435232ca508a2c53fc40', 'cookie' => true, )); $session = $facebook->getSession(); if ($session) { $_SESSION['STAMP'] = time(); try { $fbme = $facebook->api('/me'); } catch (FacebookApiException $e) { error_log($e); } } else { echo "You are NOT Logged in"; } ?>