Topic-icon Facebook Policy Warning for app: login is not working correctly

Active Subscriptions:

None
I have recently received a policy warning notice from Facebook regarding the app used to connect Joomla to Facebook. It says that the login is not working correctly, which it is not.

I am not sure why. It was working until updating to the latest version of JFBConnect. The settings all appear correct in the app and there are no errors in Autotune. I wondered if the configuration requirements have recently changed.

When I try to login to the site using my personal Facebook account it fails. The login window appears then disappears. Twitter, LinkedIn, Google and Windows all work. I have spent several hours on this and cannot work out what the problem is. Please help!
The topic has been locked.
Active Subscriptions:

None
Do I need to create a new app?
The topic has been locked.
Support Specialist
I don't see any reasons why authentication with Facebook wouldn't work by looking at the code on your page. I'll agree though that it is not working. When I try, the page just reloads and I'm still not logged in.

I'd recommend setting the "Debug Mode" option to 'On' in the JFBConnect -> Configuration area to help diagnose further. That may show an error message at the top of the page after you try to login with Facebook that will hopefully narrow things down more.

You shouldn't need to create a new Facebook App, and I wouldn't recommend that. When I tried to login, the normal login prompt from Facebook appeared, so things seem setup correctly, but there may be some communications issue between your server and Facebook itself gumming up the works.

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

None
Thanks. I enabled the log and tried again. I cleared the browser cache etc and was logged in via the app using my FB account credentials but into the wrong account i.e. one that uses my email for another online service. The was no error message in the front end and the log reported a succesful connection.

Facebook said it would place a restriction on the app today if the problem continues but I have not had notice yet. Something is wrong. I will PM you.

Regards,

Andrew
The topic has been locked.
Active Subscriptions:

None
Just had notification from Facebook that the app is now restricted. The log shows no errors yet this isn't working. If I can't get it working I will need to disable JFB Connect and use the EasySocial integration instead. This coincided with updating to the latest version of the app. It may be related, it may not. I have found that very few of our members use their social media accounts to log in, but of those that do Facebook is the most popular.
The topic has been locked.
Active Subscriptions:

None
I would like a refund please because I cannot get this to work and Facebook has just rejected the appeal. It was working until I updated the component and now it is not.

With debug enabled I see no error but I for some reason I get logged into the wrong account. The log shows one error yesterday relating to a Twitter API ErrorCode 130. I have no idea now how to fix the Facebook app error. I do not understand why the integration with the other social apps work but not Facebook. I have spent some considerable time and am now going around in circles. I will revert to using Easy Social's social media support. A great shame.
The topic has been locked.
Support Specialist
I apologize for the delayed response. We were on reduced hours over the holiday break.

Can you please let us know what the error message is that Facebook has sent to you? We haven't heard of this issue with any other sites and many, many sites (including this one) are using the latest release of JFBConnect.

In your private message, you noted that you were logged into the correct account and that you had switched the email on your Facebook account. Is that correct or is there still an issue there as well.

We really want to help get to the bottom of this issue to get things right for you and to make sure there are no underlying issues.

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

None
Hi Alex,

No problem. it is the festive season!

Facebook has provide this information:

"In working to create a great Platform experience for everyone, we ask developers to ensure the apps they build comply with our Platform Policies. Your app [xxx] doesn't comply with the following Platform Policies:
Platform Policy 8.1: Verify that you have integrated Login correctly. Your app shouldn't crash or hang during the testing process.
During Login, your app or website is crashing or hanging excessively, creating a broken experience for people trying to use your Login integration. To make sure this flow runs smoothly, check that you've integrated Facebook Login correctly. We recommend that you test Login on all integrations. If you have not already done so, please:
• We encourage you to test your Login integration following these steps here: developers.facebook.com/docs/facebook-lo...ing-your-login-flow/
• Best Practices for Login can be found here: developers.facebook.com/docs/facebook-login/best-practices
Since we're striving to improve the Platform experience, your app's ability to do the following has been restricted.
Access to Facebook Login
Restriction on Facebook Login means that you will need to remove the button from all user-facing interfaces to avoid negative user experiences. If you believe your product can be fixed and want to integrate Facebook Login going forward, please add the button after your appeal has been approved."

When I log in with my personal FB account I am logged in without any explicit error (with Debug enabled) but into an account that does not use the email account I use for Facebook.

Whilst trying to resolve this I noted that I do not have a Joomla account that uses the same email address as my FB account (googlemail). I therefore amended another Joomla test account to use the same email address but I am not logged into that one. Rather it is logging me into an account that uses an email address with the same prefix as the googlemail one but a difference suffix. It also takes me to the ES profile page, indicating that something is wrong.

In summary I get no specific errors so it is difficult to determine the cause. Before upgrading JFBConnect it was working, and I think I was logged into the Joomla account that used the same prefix as the googlemail address but the suffix was "gmail.com". Perhaps the software identified that gmail is an alias for googlemail.

We have a handful of users logging in via social media. The main reason for installing JFBConnect was to make it easier for users to use their social media accounts, but this has not happened. The only other feature used is the OpenGraph support because one component does not support this. In view of all the problems it seems sensible to use the social media support in Easy Social and a plugin for OpenGraph. I am not sure what else to do. Quite why there should be an issue between our server and FB I do not know, or even how to resolve it. The other platforms work, but only Facebook and Google are used.

Wishing you a happy New Year. I also wish for a bug-free one, but that is optimistic!
The topic has been locked.
Support Specialist
Man, that response is frustratingly vague. I know I was unable to authenticate before, but am not sure what happened. I'm assuming (hoping) that your site can still be used in Developer mode, which would allow us to test further.

To let us test further, please:
* Add me as a friend on Facebook: www.facebook.com/alex.sourcecoast
* In the Facebook Developer area, go to the Roles Area and add me as a Developer
* Private Message me admin credentials to your Joomla site

With that, we can set the Facebook app in developer mode and debug further on your site.

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

None
Thanks. I have done this for you.
The topic has been locked.