FB.ui popup window doesn't close

后端 未结 6 1968
青春惊慌失措
青春惊慌失措 2021-01-15 01:44

The initialization code:

            FB.init({
                appId: \'123456789012345\', 
                channelUrl: \'http://localhost/Some/Url/FacebookCh         


        
6条回答
  •  余生分开走
    2021-01-15 02:07

    Not an easy one... but it could work:

    First, to force closing the dialog you must pay attention to the response: See the entire documentation and example here: https://developers.facebook.com/docs/reference/javascript/FB.ui/

    Once you have the response you should close the dialog: See: http://facebook.stackoverflow.com/questions/4646441/how-to-close-a-facebook-sdk-dialog-opened-with-fb-ui

    Hope that helps! :)

提交回复
热议问题