FB init function gives wrong version error

后端 未结 20 1391
故里飘歌
故里飘歌 2020-12-08 18:18

I\'m using the Facebook JS sdk, and I have created a new App today. Everything is configured properly. Using init function like:

window.fbAsyncInit = functio         


        
20条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-08 19:00

    i replaced this

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

    with this

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

    and worked :)

提交回复
热议问题