Facebook graph api FB.ui apprequests未在iFrame选项卡上工作

Facebook graph api FB.ui apprequests未在iFrame选项卡上工作,facebook-graph-api,Facebook Graph Api,我正在使用FacebookJSAPI和 FB.ui({ method: 'apprequests', message: 'You should learn more about this awesome game.', data: 'tracking information for the user' }); FB.ui({ 方法:“apprequests”, 信息:“你应该更多地了解这项精彩的游戏。”, 数据:“用户的跟踪信息” }); 但它在选项卡上不起作用,要加载的弹出统计信息

我正在使用FacebookJSAPI和

FB.ui({ method: 'apprequests', message: 'You should learn more about this awesome game.', data: 'tracking information for the user' }); FB.ui({ 方法:“apprequests”, 信息:“你应该更多地了解这项精彩的游戏。”, 数据:“用户的跟踪信息” }); 但它在选项卡上不起作用,要加载的弹出统计信息会自动隐藏。


您只能在facebook应用程序中使用iframe,可能也可以在选项卡页面上使用。

您能提供更多的代码吗?函数invite(){FB.ui({method:'apprequests',message:'这是消息'});}facebook应用程序和选项卡现在都在iFrame上,您不能使用fbml。