Why we need to add

前端 未结 3 1488
长情又很酷
长情又很酷 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

    It's the place holder for the Facebook javascript script to attach elements to the DOM. Without this when the referenced Facebook script is ran it has nowhere to attach elements.

    You can see fb-root gets appended to as part of the initialisation.

    
    

提交回复
热议问题