If you are using the JavaScript SDK for login in conjunction with the PHP SDK, you FB_APP_ID]); parse_str($cookie, $data); // Startup the Facebook object $fb .