Whenever I try to login to facebook, I get this error
« on: February 11, 2018, 09:39:20 PM »
This account does not exist. I used Facebook Login Plugin

*

MB Themes

Re: Whenever I try to login to facebook, I get this error
« Reply #1 on: February 11, 2018, 09:50:08 PM »
@Sahin
It means it was not possible to create new user, try to check your error log. Debugging may be bit complicated.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mr blue

  • **
  • 9 posts
Re: Whenever I try to login to facebook, I get this error
« Reply #2 on: February 16, 2018, 12:25:47 PM »
So, it looks like I am running in to this same issue as well.. The best I can describe it for you is:

On the first time of testing, clicking the facebook button, opened up a pop up to sign in/give permission from facebook account, it did this on google chrome and edge browser. But i would just X out of the popup, on the last test before I got this error, clicked on facebook button, popup happen, proceeded through to allow FB permissions,  but I then clicked the cancel button from Facebook, it loaded for a bit, kicked me back to my website, with this error. (also if you have "osclass pay" plugin by you) it will say "As a bonus for joining website, we have boosted your wallet with $5.00. Feel free to use them for promoting your listings!"  right below is the same as above "This account does not exist."

(Also note, the time i canceled on the final fb page, was using the same email on the user account and facebook page, so it would have been connecting the accounts, rather than actually creating one)

However, now when I click the facebook button on chrome it loads for a moment, then kicks right back to the osclass and not exist errors on front. So there is no popup anymore like before. On Edge, it just opens the facebook page to long, not in a pop up, but entire website changes to facebook. (where there was a pop up before)

I see no error logs showing this error anywhere on the website.

There is also a email getting fired out each time it happens, it is the admin-new-user email and all the variable are blank inside the email.

Name: (blank)
E-mail: (blank)

doesn't look as its filling the database with blank/nulled, so thats good.

I have tried uninstalling - reinstalling, clearing caches, but it just instantly is stuck in this mode.

I also uninstalled and installed the other plug-in I didn't take it to the end, but the facebook popup came right back. uninstalled that, reinstalled yours and still nothing.

Moved it from test server to production server also, still same.


*

MB Themes

Re: Whenever I try to login to facebook, I get this error
« Reply #3 on: February 16, 2018, 02:11:20 PM »
@blue
go to file:
oc-content/plugins/facebook_login/functions.php

find line:
Code: [Select]
$user_from_fb = $response->getGraphUser();
bellow this line place code:
Code: [Select]
    // Check if we got some data
    if($user_from_fb['id'] == '' || $user_from_fb['name'] == '' || $user_from_fb['email'] == '') {
      osc_add_flash_error_message(__('Incorrect data returned from facebook:', 'facebook_login') . ' ' . implode(', ', $user_from_fb));
      header('Location: ' . osc_base_url());
      exit;
    }

it will not solve issue, but exit login and print out data if none are returned.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mr blue

  • **
  • 9 posts
Re: Whenever I try to login to facebook, I get this error
« Reply #4 on: February 16, 2018, 11:27:16 PM »
Ok made the changes, with chrome I tested again, no pop up, same pause-loading then kicked to this error

Incorrect data returned from facebook:


On Edge: Still kicks the page over to login facebook (not in pop up form)

Error log created was:

[16-Feb-2018 14:20:41 America/Los_Angeles] PHP Warning:  implode(): Invalid arguments passed in /home/public_html/oc-content/plugins/facebook_login/functions.php on line 86

(please remember the first times I did this, before it went to the final step on FB to give permission, had a pop up and showed my FB info in that pop up)

If you would like to look on my site let me know.

*

MB Themes

Re: Whenever I try to login to facebook, I get this error
« Reply #5 on: February 17, 2018, 10:44:24 AM »
That error tells that faceboom does not send you back any data. Try to check if your app is live with required permissions.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mr blue

  • **
  • 9 posts
Re: Whenever I try to login to facebook, I get this error
« Reply #6 on: February 17, 2018, 12:06:36 PM »
I am sure it's working, I was able to verify that by using our old software to check while we are trying to figure out what the root cause of this may be.

edit: I will double check facebook settings in the morning to see if there is anything that could be stopping this. This also apears in the link after it happens with chrome: https://website.com/#_=_


« Last Edit: February 17, 2018, 12:10:34 PM by mr blue »

*

mr blue

  • **
  • 9 posts
Re: Whenever I try to login to facebook, I get this error
« Reply #7 on: February 17, 2018, 01:34:01 PM »
All settings verified correct via fb developers console.

*

MB Themes

Re: Whenever I try to login to facebook, I get this error
« Reply #8 on: February 17, 2018, 11:16:04 PM »
What is your irl? Will test it...
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mr blue

  • **
  • 9 posts
Re: Whenever I try to login to facebook, I get this error
« Reply #9 on: February 18, 2018, 12:07:44 AM »
I will send you a private message.

Re: Whenever I try to login to facebook, I get this error
« Reply #10 on: February 18, 2018, 09:47:27 AM »
how do I add the site URL to "OAuth directs URI" in product> Facebook Login> settings

- This account does not exist. I used Facebook Login Plugin

- There is also a email getting fired out each time it happens, it is the admin-new-user email and all the variable are blank inside the email.

- This also apears in the link after it happens with chrome: https://website.com/#_=_

how do I solve it all there is a tutorial to make this work well on my website


thank you, regards
FJB Community

*

mr blue

  • **
  • 9 posts
Re: Whenever I try to login to facebook, I get this error
« Reply #11 on: February 18, 2018, 10:12:39 AM »
@day that part will be in the developers settings on facebook, in the "Valid OAuth redirect URIs" make sure you have the https and/or http of your website filled out there. then save.


*

mr blue

  • **
  • 9 posts
Re: Whenever I try to login to facebook, I get this error
« Reply #12 on: February 18, 2018, 10:15:58 AM »
@MBThemes, I sent you a PM through these forums, I don't see it in the sent folder, can you verify you got it?

Re: Whenever I try to login to facebook, I get this error
« Reply #13 on: February 18, 2018, 10:24:03 AM »
@mrblue I have setting the developer on facebook, in "Valid OAuth redirect URI" with http://fjbcommunity.com/ filled there. I have saved.

*

mr blue

  • **
  • 9 posts
Re: Whenever I try to login to facebook, I get this error
« Reply #14 on: February 18, 2018, 11:13:49 AM »
Yea, that's correct, I also have the same settings and also getting the same issues, I have a feeling there is a issue somewhere in the plugin.

I was able to register a new account tonight, but in doing so, everything leaves the website and lands on the facebook page, it doesn't look good that way, makes users shy away.


Also, when it made the account it did not bring over the profile picture from facebook.