Topic-icon Big problems with JFBC

Active Subscriptions:

None
10 years 6 days ago #58449 by timchteure
Hi Alex,
Facebook login seems to shut down from time to time (quite often lately). The website simply does not want to log in anymore. It starts working again after a certain period. It keeps on doiing that at random times. I have no idea why... It does not correspond at all with caching nor does it correspond to my CDN as I have those problems as well when I switch CDN off. Only answer I had, was that it was due to FB going down.

Now the website brings me to a register your account page even though the Automatic Email localisation thing (see screenshot) is switched on.
File Attachment:




File Attachment:



It would be great if it worked without fail :(

Any idea what is going on? If you want I can take a video when it fails to work as well.
The topic has been locked.
Support Specialist
10 years 3 days ago #58460 by alzander
Replied by alzander on topic Big problems with JFBC
The registration page you show is telling. If the user's email address can't be fetched from the social network, we *have* to send them through a registration process. Twitter and Instagram for instance, will never return an email address, so those network authentication will always show the mini-registration form you show.

When that happens with Facebook, it indicates that Facebook did not return the email address for the user. That can happen depending on the user's privacy settings or if the user doesn't have any authenticated email address in their system. From your picture, the rest of the profile information *is* properly being imported from Facebook like name and possibly other fields.

So, it seems like Facebook is working, but the email address for the account you're registering with is not available for the current user.

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

None
10 years 3 days ago #58471 by timchteure
Replied by timchteure on topic Big problems with JFBC
Hi, the first issue was caused by the "register" trigger being hit etc...

The second problem (which was different from the first and has been annoying me for a year now :) ) is related to this: github.com/sahat/satellizer/issues/645

They describe exactly the same problem that sometimes happens (happened for a couple of years even before I started seeing the registration error likely cause to the changing of registration pathway... see conversation www.sourcecoast.com/forums/jfbconnect/jf...ich-triggers-are-hit).

Anyway, it seems (from the github article) to be due to some deprecated stuff inside your code.

Bye

Tim

PS: The login problems are very annoying as they happen sporadically and seemingly randomly as described in Github link I have shown you.
The topic has been locked.
Support Specialist
10 years 2 days ago #58476 by alzander
Replied by alzander on topic Big problems with JFBC
I'm not sure what you mean when you talk about the first and second issue. From your first post above, I only can see one issue described.

The Github project you posted is for an AngularJS authentication system. We don't use Angular and neither does Joomla. The systems may sound the same, but the cause would definitely not be related. If you can provide more details on the issue though, we'll gladly help investigate, as always.

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

None
10 years 2 days ago #58479 by timchteure
Replied by timchteure on topic Big problems with JFBC
Hi Alex,
The consequences are related ie I am having 100% the same problems as they do. Here is the issue I had reported:

Facebook login seems to shut down from time to time (quite often lately, at seemingly total random moments and seemingly randomly only with very few users, larger user data sets or world-wide). The website simply does not want to log in anymore (As explained in the GITHUB article I sent, I see the /#_=_ in the URL that indicates that JFBC thinks it is logged in. The server though does not log me in). The problem does not seem to be machine specific as I had it also on the old hosted server as well as on the Vserver, it is present in computer as well as mobile and tablets, with caching on or off, with CDN on or off, with facebook down or up (I checked against this website login although my server is located in EU and yours in US). It starts working again after a certain period. It keeps on doiing that at random times. I have no idea why... It does not correspond at all with caching nor does it correspond to my CDN as I have those problems as well when I switch CDN off. Only answer I had, was that it was due to FB going down.

It is very hard to catch the times when it is down (if it does, then it crashes completely as I can not find the reason or repair it). If you have any idea what to do against it, it would be great.

Github link I have sent you describes the closest the issues (btw normal login over CB login, Joomla login or SC login still works).
The topic has been locked.
Support Specialist
10 years 1 hour ago #58510 by alzander
Replied by alzander on topic Big problems with JFBC

I see the /#_=_ in the URL that indicates that JFBC thinks it is logged in.

This does not mean that JFBC thinks it is logged in. The #_=_ text is returned from Facebook when it redirects the user to your site for security reasons, but it does not indicate any specific behavior has occurred and has nothing to do with JFBConnect functionality.

With that out of the way, can you explain more about going down/shutting down/crashing? Going back to the picture above of the registration, is that related to the issue or was that separate? If it's related, again, that behavior looks correct to me as explained above.

Beyond that, I really need to understand how you're testing and what, specifically, you are or aren't seeing. If there's specific error messages indicating a service is down or behavior you can describe for the problem, it would really help narrow things down. I've read the Github thread, but since it's about a whole different framework, it's difficult for me to understand what's happening in your specific case.

Thanks,
Alex
The topic has been locked.
Support Specialist
10 years 1 hour ago #58511 by alzander
Replied by alzander on topic Big problems with JFBC
Ah, one other thing to try is to go to the Configuration -> Facebook area in JFBConnect and set the "Show 'login credentials' in popup" setting to 'No'. That will disable the popup and have the user directed to Facebook.com to authenticate before they are returned to your site. That removes some extra logic and may help with your problem. Definitely worth a shot.

Thanks,
Alex
The topic has been locked.