Why we need to add

前端 未结 3 1486
长情又很酷
长情又很酷 2021-02-04 23:11

Why we need to add these pair of tags within our facebook application. What\'s the use of this pairs of tags. I created an application which use an apprequest, and it works goo

3条回答
  •  臣服心动
    2021-02-04 23:48

    UPDATE: Facebook no longer requires that you include

    in your HTML.

    You can now remove it. The Facebook Javascript SDK creates it on its own, appending it to the BODY tag. No warnings are shown in the console either, as it did before.

    The Facebook documentation has also been updated, no longer showing the

    requirement.

    Old documentation for version 1.0 (shows

    ): https://developers.facebook.com/docs/javascript/quickstart/v1.0

    Current documentation for version 2.5 (no longer shows

    ): https://developers.facebook.com/docs/javascript/quickstart/v2.5

提交回复
热议问题