Access token warning when logging in using Facebook JavaScript SDK

前端 未结 5 780
我在风中等你
我在风中等你 2021-02-07 09:33

I\'m using debug.js and getting the following message when executing FB.login:

You are overriding current access token, that me

5条回答
  •  广开言路
    2021-02-07 09:46

    Just make sure you have the following:

    window.fbAsyncInit = function() {
            FB.init({
              appId      : '{tu_id}',
              cookie     : true,
              status     : true,
              xfbml      : true,
              version    : 'v3.3'
            });
    

提交回复
热议问题