Uncaught Error: Minified exception occurred [Facebook Login]

后端 未结 2 866
不知归路
不知归路 2021-01-03 15:06

I am trying to integrate my website with facebook login. I have followed all the documentation provided by Facebook (Quick Start). Here is my code

function i         


        
相关标签:
2条回答
  • 2021-01-03 15:43

    It is a known bug: https://developers.facebook.com/support/bugs/1337180213092053/

    Subscribe to it if you want to know when it is solved.

    0 讨论(0)
  • 2021-01-03 15:49

    There is a temporary solution for you, if you can have a separate link/button to logout. You can logout from this separate button using facebook api like:-

    FB.getLoginStatus(function(response) {
    if (response.status === 'connected') {
          // Logged into your app and Facebook.
    
          FB.logout(function(response) {
       //Person is now logged out    
    });   
        } 
        });
    

    And you can turn off auto logout link from facebook login button like this data-auto-logout-link="false":-

    <div class="fb-login-button" data-width="10" data-max-rows="1" data-size="large" data-scope="email,public_profile" data-button-type="continue_with" data-show-faces="false" data-auto-logout-link="true" data-use-continue-as="true" >
    
    
    <div class="fb-login-button" data-width="10" data-max-rows="1" data-size="large" data-scope="email,public_profile" data-button-type="continue_with" data-show-faces="false" data-auto-logout-link="false" data-use-continue-as="true" >
    
    0 讨论(0)
提交回复
热议问题