Advertisement:

Author Topic: yet Facebok Connect Error  (Read 2392 times)

Zenyth87

  • Newbie
  • *
  • Posts: 1
yet Facebok Connect Error
« on: January 29, 2015, 02:39:39 pm »
Hi guys,

i see that i'm not the only one who has this error, but... Yesterday my site and Facebook Plugin Worked!

Now not more!!! I have FB 1.4.1 Plugin Installed, But at Login Time -> http://...../? code=AQA9..............
and the user can't login.

If i press "Register an Account" and later "Login with Facebook" the user is logged...

so... How to solve this login problem???

Please help me!!!

Someone can attach a Fixed Facebook Plugin for Osclass? I have 3.5.3 now...

Please again! Help :(

unugurn

  • Newbie
  • *
  • Posts: 4
Re: yet Facebok Connect Error
« Reply #1 on: January 30, 2015, 02:44:54 am »
Same issue, please fix it.

Facebook Connect: 1.4.1
Osclass: 3.5.3

I've noticed an error "CSRF state token does not match one provided." in error log file, this is related with "state" variable in getCode() function of FB SDK.


Aficionado

  • Guest
Re: yet Facebok Connect Error
« Reply #2 on: January 30, 2015, 04:53:23 pm »
I don't see that error at all. Same Osclass versions and plugin.


unugurn

  • Newbie
  • *
  • Posts: 4
Re: yet Facebok Connect Error
« Reply #3 on: February 01, 2015, 02:44:27 am »
add the following lines to your config.php

define('OSC_DEBUG', true);
define('OSC_DEBUG_LOG', true);

TechGuy23

  • Full Member
  • ***
  • Posts: 229
  • We are STARPCLASS 2016
Re: yet Facebok Connect Error
« Reply #4 on: February 04, 2015, 11:17:39 pm »
also having a issue. Members are not able to login with facebook any longer  8)


all you see at the end is the code with _=_ and it does not want to interact with facebook to login. I know they recently advised me to update my API on my website

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: yet Facebok Connect Error
« Reply #5 on: February 05, 2015, 01:45:09 pm »
@TechGuy23
I faced similar issues, usually caused by CSRF tokens. Solution for me was:
- placed first login button into start of page (somewhere to head.php or header.php) > set style="display:none;"
- placed second (final) button where I wanted it

You can try ;)

unugurn

  • Newbie
  • *
  • Posts: 4
Re: yet Facebok Connect Error
« Reply #6 on: February 05, 2015, 03:22:03 pm »
i've placed hidden div in header.php but still have the same issue.

TechGuy23

  • Full Member
  • ***
  • Posts: 229
  • We are STARPCLASS 2016
Re: yet Facebok Connect Error
« Reply #7 on: February 05, 2015, 04:20:32 pm »
i fixed my issue. I reset the Client Token in the App Settings > Advanced. I also added my Server IP to the white list and made sure Client OAuth Login was set to On :)

dinocarrozzo

  • Newbie
  • *
  • Posts: 8
Re: yet Facebok Connect Error
« Reply #8 on: February 09, 2015, 06:28:59 pm »
when i activate the plugin , it show me this messages
may help me?

Aficionado

  • Guest
Re: yet Facebok Connect Error
« Reply #9 on: February 09, 2015, 06:30:07 pm »
Something is missing from your hosting plan. Ask your hoster to enable it (or find a proper one).


dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2155
  • osclass.work
Re: yet Facebok Connect Error
« Reply #10 on: February 09, 2015, 07:09:54 pm »
cURL PHP extension is not installed or not enabled. Ask your hosting provider if you they can install/enable it.

Regards