Advertisement:

Author Topic: Facebook redirect error  (Read 6070 times)

Taisson

  • Newbie
  • *
  • Posts: 5
Re: Facebook redirect error
« Reply #15 on: July 24, 2015, 06:44:55 pm »
I tried all plugins ... No ... What did worked version can be?

encontra

  • Newbie
  • *
  • Posts: 19
Re: Facebook redirect error
« Reply #16 on: July 30, 2015, 10:23:40 pm »
@frosticek
What version of PHP do you recommend to use for OsClass?
I will test with other versions to see if the problem is resolved.

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Facebook redirect error
« Reply #17 on: August 04, 2015, 01:43:01 pm »
@encontra
I think I am using 5.3, not sure what are differences in versions...

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: Facebook redirect error
« Reply #18 on: August 04, 2015, 02:44:05 pm »
Guys,

I am using php 5.5.27 and Osclass 3.5.7. and no issue I see with Facebook login plugin but I did do some fix for redirecting.
Also posted something about the same in the plugins forums, is that the same issue as mentioned here?
http://forums.osclass.org/facebook-connect/fcb-improvement/

Regards,
Eric
« Last Edit: August 04, 2015, 02:46:47 pm by SmaRTeY »

encontra

  • Newbie
  • *
  • Posts: 19
Re: Facebook redirect error
« Reply #19 on: August 06, 2015, 10:25:42 pm »
@SmaRTeY
Thanks for your suggestion, but isn't about that exactly. Is about this error that occurs when we try to create an account with facebook:

[14-Jul-2015 17:52:35 America/Sao_Paulo] CSRF state token does not match one provided.

Do you know how to fix this?

PS: But I tested your improvement and is really good one. But I have the login button with facebook in all pages, and in this way the button works just if I'm in login page, what is not interesting for my case. =]

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: Facebook redirect error
« Reply #20 on: August 07, 2015, 12:31:17 am »
Quote
But I have the login button with facebook in all pages
I think you could fix that as well but for me only login page is interesting for now ;)

Look about your issue, I have the Facebook plugin without error so let's see what is different:
My most important setup/versions:
- Osclass 3.5.7
- php 5.5.27
- FB Connect plugin 1.4.1
======================
- JQuery 1.11.3
- JQuery UI 1.11.2
- JQuery Validate 1.13.1
- JQuery Migrate 1.2.1

As you can see I have mostly up-to-date versions of JQuery compared with original Osclass BUT I also had to make several changes in core javascript code to make it work so let's first focus on the other versions and especially Osclass & FB Connect.

Next we'll focus on the plugins installed in our systems which might be bugging you.


Regards,
Eric
« Last Edit: August 07, 2015, 12:34:06 am by SmaRTeY »

etipid.ph

  • Newbie
  • *
  • Posts: 42
Re: Facebook redirect error
« Reply #21 on: August 07, 2015, 07:17:08 am »
I experienced this before.

The problem here is that the E-Mail address (Facebook Account) your are trying to signup/signin is not active

for example: myemailaddress@yahoo.com is my username/login on facebook and it's an active facebook account, but that email is not active on yahoo.

Try to ask your friend/relatives to sign-up to your site with their facebook account.

You must provide a VALID email address.

hope this helps.

thank you.

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: Facebook redirect error
« Reply #22 on: August 08, 2015, 03:28:58 am »
Quote
You must provide a VALID email address.
???

Uhhh YEAH... ;D
Hope this is not the issue being experienced.... that would be a bit lame haha

etipid.ph

  • Newbie
  • *
  • Posts: 42
Re: Facebook redirect error
« Reply #23 on: August 08, 2015, 02:09:29 pm »
hi smarty,

what I mean is when signing up a facebook account, because if I'm not mistaken you can signup a facebook account even you used an invalid email address.

that's what I've experienced during dry-run of my site.

thanks.

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: Facebook redirect error
« Reply #24 on: August 08, 2015, 04:12:11 pm »
I know, I wasn't 'mocking' you but just smiling since a valid email address is SO..... well logical :)

By the way, doesn't Facebook use email validation?? (ie. send activation email or something?)


Regards,
Eric

Taisson

  • Newbie
  • *
  • Posts: 5
Re: Facebook redirect error
« Reply #25 on: August 10, 2015, 12:12:35 am »
I made the change and does not work!
No redirects to the website.
Any solution for this error?
Osclass 3.5.7 plugin Facebook 1.4.1

Att