Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Vanilla 2.3 fully supports PHP 7. Get it now!

Unable to login with Facebook account anymore [RESOLVED]

legrandselegrandse New
edited April 13 in Vanilla 2.3 Help

Hello,

Users report me that they can't login into my forum with their FB account since several days.
Nothing has change on my forum but I don't know how to solve the problem.

On the print screen after beeing logged into FB, vanilla invite to put email and pseudo but it doesn't accept anything.

Do you see a way to investigate ?

Thanks for your help

Comments

  • I've activated debug mode:

    file_get_contents(https://graph.facebook.com/me?access_token=&fields=name,id,email): failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request

    #0 [internal function]: Gdn_ErrorHandler(2, 'file_get_conten...', '/home/gghfmftq/...', 612, Array)
    #1 /home/gghfmftq/www/vanilla/plugins/Facebook/class.facebook.plugin.php(612): file_get_contents('https://graph.f...')
    #2 /home/gghfmftq/www/vanilla/plugins/Facebook/class.facebook.plugin.php(511): FacebookPlugin->getProfile(false)
    #3 /home/gghfmftq/www/vanilla/library/core/class.pluginmanager.php(873): FacebookPlugin->base_connectData_handler(Object(EntryController), Array, 'base_connectdat...')
    #4 /home/gghfmftq/www/vanilla/library/core/class.pluginmanager.php(786): Gdn_PluginManager->callEventHandler(Object(EntryController), 'Base', 'ConnectData', 'Handler')
    #5 /home/gghfmftq/www/vanilla/library/core/class.pluggable.php(133): Gdn_PluginManager->callEventHandlers(Object(EntryController), 'EntryController', 'ConnectData')
    #6 /home/gghfmftq/www/vanilla/applications/dashboard/controllers/class.entrycontroller.php(417): Gdn_Pluggable->fireEvent('ConnectData')
    #7 [internal function]: EntryController->connect('facebook')
    #8 /home/gghfmftq/www/vanilla/library/core/class.dispatcher.php(326): call_user_func_array(Array, Array)
    #9 /home/gghfmftq/www/vanilla/index.php(44): Gdn_Dispatcher->dispatch()
    #10 {main}

    If you see something wrong ;)

  • I'm trying to find a way...

    Here is a message error from the link : https://graph.facebook.com/me?access_token=&fields=name,id,email

    "error": {
    "message": "An active access token must be used to query information about the current user.",
    "type": "OAuthException",
    "code": 2500,
    "fbtrace_id": "CXeZvO+Ou7/"
    }

    I've re-created a FB app (v2.8) with all necessary fields and place the API key and secret in the right place.

    Still have the same error but I don't know what to do.

    Help please ;)

  • Solved by uploading new Facebook plugin on Github

    whu606Caylus
Sign In or Register to comment.