Needs review
Project:
Drupal for Facebook
Version:
7.x-3.3-beta5
Component:
Facebook Connect
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Jan 2013 at 17:00 UTC
Updated:
12 Jan 2013 at 01:50 UTC
Hello,
What i'm trying to do is facebook connect functionality through a custom url and not through the default fb popup/javascript.
$url = "https://www.facebook.com/dialog/oauth?client_id=306583906119415&redirect_uri=http://domain-name.com/&scope=$perms&response_type=token";
$button = "<a href='$url'>Login with facebook</a>";
Now when i click on this link, it works just fine in terms of connecting to facebook, but after the user authorize the application and Facebook redirect you to the website. It does not auto login at the site, and you have to click again on the "Login with facebook" link and to login you in.
Do you know how to do this correctly? or what i should set my facebook redirect url as?
Thanks.
Comments
Comment #1
samerali commentedany ideas?
Comment #2
Dave Cohen commentedThis documentation may need some updating, but should mostly be correct and should help: http://drupal.org/node/969242