Invalid version specified, facebook share plugin error

后端 未结 6 1327
广开言路
广开言路 2020-12-30 18:42

I want to use the facebook share plugin for the web app I am working on, I only need the basic share button. The app uses requirejs for loading javascript, so I followed the

6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-30 19:11

    Minor heads up, I had to change

    js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.8";

    to

    js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.8";

提交回复
热议问题