[removed] My fbAsyncInit() method never gets called

后端 未结 6 1896
予麋鹿
予麋鹿 2020-12-19 02:16

I\'m copying the code right out of this page on Facebook\'s developer website and the fbAsyncInit() method never fires. I\'ve also read this page, I\'ve tweaked the code qu

6条回答
  •  感情败类
    2020-12-19 02:43

    You should change:

     js.src = "//connect.facebook.net/en_US/all.js";
    

    to:

     js.src = "http://connect.facebook.net/en_US/all.js";
    

提交回复
热议问题