Facebook\Exceptions\FacebookSDKException thrown

Sessions are not active. Please make sure session_start() is at the top of your script.