Issue
I have recently downloaded the Facebook PHP SDK to try and post to a Facebook user's wall.
My Facebook user is currently logged in but has not used my app.
$user = $facebook->getUser();
if ($user) {
// user is logged in
} else {
// user is not logged in
$url = $facebook->getLoginUrl(array('next' => 'http://localhost.com/php-sdk/examples/example.php'));
header("Location: $url");
}
I've noticed that it redirects me to a page where it requires me to log into the app, which is kinda weird as this is the first time i have seen this behavior, it says "You are logging into DummyFBApp as User" at the bottom. Whenever i try to use other fb apps it only ask me for permissions to access my information, post, etc.
Is it possible to skip this "login" and only show the dialog whether to allow the app to post to the user wall?
Solution
Yours is server side instead of using the JS SDK, but take a look anyway: Facebook permission dialog (JavaScript sdk) .
Answered By - Alexey Gerasimov
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.