× Joomla Facebook Connect support forum

Topic-icon automatic login

Active Subscriptions:

None
11 years 5 months ago #28275 by isaac.kamsin
automatic login was created by isaac.kamsin
We are trying to make it so that when a Facebook user goes to the Facebook app it automatically asks for their permission to access their data and then logs them into our app automatically every time after that. This isn't happening currently and we are unsure as to what is going on. Is there a way to see what is happening when the user goes to the app? Or would someone know why this is happening and what could be changed to get it to work? Thanks for all the help in advanced and the great interface that you have created with JFBConnect. The app name is GetInTheName if that would be helpful.
The topic has been locked.
Support Specialist
11 years 5 months ago #28276 by alzander
Replied by alzander on topic automatic login
The feature you're looking for is called "Authenticated Referrals", and unfortunately, that's being discontinued by Facebook. If you just created your Application, you won't be able to use it. If you had an app from before ~October, you *may* be able to use Authenticated Referrals through early February, when it won't be available to any applications.

There's no way we can get around this feature being removed. Facebook determined that forcing users to login when they visit your app was causing a lower-quality experience as too many apps were abusing the ability. For more information, see:
developers.facebook.com/docs/technical-g...raph/auth-referrals/

I believe you'll need to add a Login with Facebook button to your app to get the user to approve your app. From there, JFBConnect can automatically log them in whenever they return to your app as you're looking for.

Hope that helps explain,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 5 months ago #28307 by isaac.kamsin
Replied by isaac.kamsin on topic automatic login
Thanks for the reply! On a related note the Login to Facebook button we have is working outside of Facebook but does not work inside of Facebook and users that have logged in through Facebook are also not being automatically logged back in when they go to the app.
The topic has been locked.
Active Subscriptions:

None
11 years 5 months ago #28321 by Ivan
Replied by Ivan on topic automatic login

alzander wrote: The feature you're looking for is called "Authenticated Referrals", and unfortunately, that's being discontinued by Facebook. If you just created your Application, you won't be able to use it. If you had an app from before ~October, you *may* be able to use Authenticated Referrals through early February, when it won't be available to any applications.

There's no way we can get around this feature being removed. Facebook determined that forcing users to login when they visit your app was causing a lower-quality experience as too many apps were abusing the ability. For more information, see:
developers.facebook.com/docs/technical-g...raph/auth-referrals/

I believe you'll need to add a Login with Facebook button to your app to get the user to approve your app. From there, JFBConnect can automatically log them in whenever they return to your app as you're looking for.

Hope that helps explain,
Alex



Alex, my app has code that would trigger the FB button and autologin once it detects your inside the canvas will this stop working?
The topic has been locked.
Support Specialist
11 years 5 months ago #28328 by alzander
Replied by alzander on topic automatic login
Isaac,
If the Login button isn't working within your App, let us know where we can see the App page and underlying website. That will help us investigate and diagnose the issue. If you don't want those public, you can Private Message them to us by clicking the arrow under my avatar (<----) and hitting the mail icon.

Ivan,
Authenticated Referrals is different than what you're doing. When you auto-trigger the login, does that work for users that haven't approved your app already (and bring up the Login/Permissions approval dialog) or does it just work for returning users to automatically log them in?

Either way, the change in February shouldn't affect what you're doing.. I'm just curious about what you've implemented in case it's something we should look into more.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 5 months ago #28333 by Ivan
Replied by Ivan on topic automatic login
ALex,

It would bring up the permissions box then they would have to accept then it would autolog them in.
The topic has been locked.