[Solved] Facebook app that automatically writes on fans wall, when some fan have birthday? [closed]

Luckily, this is not possible, as it would be pure spam. You would need to authorize every single User with the App, request the publish_actions and user_birthday permissions and store an Extended User Token (that is valid for 60 days). You will never get publish_actions approved by Facebook in their review process, because it´s not … Read more

[Solved] login with facebook with database

it’s done with this. $_SESSION[‘fb_access_token’] = (string) $accessToken; $fbApp = new Facebook\FacebookApp(‘1014758295283866’, ‘b1a98e587c8bef98dfb273db67214afb’); $request = new Facebook\FacebookRequest($fbApp, $accessToken, ‘GET’, ‘/me’, [‘fields’ => ‘id,name,email’]); try { $response = $fb->getClient()->sendRequest($request); } catch(Facebook\Exceptions\FacebookResponseException $e) { // When Graph returns an error echo ‘Graph returned an error: ‘ . $e->getMessage(); exit; } catch(Facebook\Exceptions\FacebookSDKException $e) { // When validation fails … Read more