Showing popup in the new Facebook JavaScript SDK

前端 未结 9 1590
遥遥无期
遥遥无期 2020-12-30 17:15

I used to have an href in my website. When users clicked on it, a multi-friend selector showed so they could invite their friends to my website. That was done u

9条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-30 17:48

    This works for me..

    FB.ui({method:'fbml.dialog', fbml:' '})});
    

    Replace the CAPS with your content.

    The only problem I'm having is I can't figure out how to resize the dialog to fit the content. It stays at 964px. I've tried many versions of

    size:(width:600,height:500),
    

    Any Ideas?

提交回复
热议问题