Topic-icon SCLogin not logging in anymore

Active Subscriptions:

None
11 years 3 months ago #29717 by mtk
Hey Alex, long time ;)

for a few days no, we are not able to login with Facebook.
did some testing, and it seems that regular (joomla login) is no working either with the SCLogin module (while working perfectly with the Joomla and/or CB Login module.

I've tried different templates and different internal pages and could not find any reason (or even server error).


Could you please take a lot: www.israrg.co.il
{Joomla: 2.5.8, JFBC: 4.3.4}

[cache is already disabled in both Joomla and the template]
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #29719 by mtk
Replied by mtk on topic SCLogin not logging in anymore
the problem seems to be related to these 2 line on the .htaccess:
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://www.israrg.co.il/ [R=301,L]
which redirect every access to index.php (without any additional param on the URL) to the ROOT domain.


removing those lines solve the login problem.
I just can't see how is it related to the SCLogin module.
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #29720 by mtk
Replied by mtk on topic SCLogin not logging in anymore
sorry,
this only solved the Joomla login.

The facebook login takes too long and doesn't really work.
The topic has been locked.
Support Specialist
11 years 3 months ago #29729 by alzander
Nice to hear from you, and hope all is well!

For your issues, it sounds like you got the Joomla username/password issue fixed, correct? I'm not sure why that change was necessary, but if it works, that's a good start. If that causes other issues let us know and we can investigate more.

As for the Login with Facebook, I just tested. When I first tried to register, I got the normal application approval popup, which I approved. Then, I got the second "Allow app to post" popup. At first, I hit "Skip" and then nothing happened. I tried a few more times with the same results (nothing). Finally, I hit "Allow" and then I was properly redirected to the Login / Register page.

So, it seems like there may be a bug with Facebook right now if you don't allow the "Post to wall" permission that the redirection isn't working. We'll have to look into that some more and possibly submit a report to Facebook. If that's the issue you're having, I'd recommend disabling the Post to Wall on register or login functionality in JFBConnect, which won't require that permission then.

On a side note, the post to wall on login / register feature is likely something we'll be removing in a future release. Facebook changed their App Policies late last year in a way that makes that feature not approved for use anymore. Basically, anything that is posted to a user's wall has to be created by, or able to be edited by, the user before it is posted. Since our auto-post doesn't allow that, we'll likely have to remove the feature until we can find something better.

Going forward, we recommend using Open Graph actions to automatically post activity on your site to a user's Timeline.

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

None
11 years 3 months ago #29738 by mtk
Replied by mtk on topic SCLogin not logging in anymore
something bad just happened to this website when I posted a reply.
I got ERROR 300, & disconnected

so I'll try to re-post:
yes, the Joomla login now works, although I do need that redirection back, at some point.

I've just removed the 'post to wall' on new registrations, so according to you it should not require that permission.

could you please try to logout and back in to see if you can (and it takes a reasonable amount of time)?





yes, Actions are already set (also working/developing new ones) but they are not approved by FB yet.
btw, the "built-in' Read action is now more difficult to approve than what is described on this website's documentation (you should check that).
The topic has been locked.
Support Specialist
11 years 3 months ago #29768 by alzander
Mtk,
Can you let me know how the read action is more difficult than our docs? Part of the reasons for the 4.3.2 and 4.3.3 updates were to make us better conform to their requirements. We'll update the extension or docs as necessary if there's something we're lacking.

As for your other questions:
* I'm not sure what the 300 error was on our site. Doesn't sound good, but I can't find the problem from a quick scour of our logs (or at least nothing wide-spread).
* There is now only one approval popup which also has the following text in the bottom right "This app may post on your behalf, including status updates, photos and more." That bit is for Open Graph Actions, which don't require a separate popup (for now). Posting to a wall did require a separate popup, and that is missing now (which is good).
* From the time I click the login button for Facebook to the time the next page (the Login/Register page in my case, since I haven't created an account) is about 5 seconds total, including the full loading of that second page.

So, from my perspective, that's not too slow. There's also the popup notifying that I'm being logged in, so it seems about right. What kind of times are you seeing? Can you test from another computer?

Let me know about the above. I'll try to look more into the redirect issue, but may have more questions. If you find anything out, let me know.

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

None
11 years 3 months ago #29772 by mtk
Replied by mtk on topic SCLogin not logging in anymore
Hey,
I'm not talking about a technical aspect, just about FB's requirement for approval:

**Please note that if you are submitting a built-in read or watch action you should include a video that covers all of the criteria outlined in the guidelines for the specified action: developers.facebook.com/docs/opengraph/guidelines/#builtin



as for the long connection time, we are talking about more than 30 second starting to count from the click.
(the popup does appear rather quickly)

yes, I've already tested this with several users from several computers.
it might be a server location issue, but I'm not 100% sure.
The topic has been locked.
Support Specialist
11 years 3 months ago #29778 by alzander
Definitely not seeing that long of a delay from here. It's pretty 'normal' to me. Not sure what else I could test. While it could be a server issue, your server is in the same location for me and you. The Javascript portion may be slightly faster, since my computer may be closer to Facebook's servers. However, most of the login functionality takes place on your server, and that's independent of where we're logging in... so not sure why that would be slowed down at all.

One difference is that I'm not fully registered on your site. So, I'm simply brought to the Login / Register page, which again goes quickly. If you have a few profile plugins enabled to import data on login, that may be adding additional time to the process since it's re-fetching the avatar and data. Going to the Login / Register page fetches a minimal amount of data. So, I'd test:
* With a FB User that doesn't have an account on your site. See how long it takes to go to the Login / Register page
* With all JFBCProfile plugins disabled
Between those tests, that will hopefully narrow down where the lag is coming from.

Regarding the Open Graph Action submissions, I can't find that text anywhere. When I go to submit an action, I see the page below:
File Attachment:

Is that where you're seeing that video text, or are you seeing it somewhere else? We haven't heard from anyone else about videos being required, but FB rolls things out to users differently, so that may be an upcoming requirement.

Even if so, it'd be a documentation change, which we'll gladly do.. not an extension update (thankfully).

Thanks,
Alex
The topic has been locked.