FB.getLoginStatus() called before calling FB.init()

后端 未结 6 933
北恋
北恋 2020-12-08 04:18

I\'ve this message in my console

FB.getLoginStatus() called before calling FB.init(). 

My code



        
6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-08 04:59

    I answered to a similar SO question here.
    Actually, if you also cannot see the Like button at all, then this question is an exact duplicate of the other one.

    In my case, I'm seeing the console error, but I do see the Like button as well.

提交回复
热议问题