Send dialog doesn't work in page tab
Send dialog doesn't work in iframe page tab.
did as in example on 'Send Dialog' page https://developers.facebook.com/docs/reference/dialogs/send/
<html xmlns:fb="https://www.facebook.com/2008/fbml">
<body>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<div id="fb-root"></div>
<script>
// assume we are already logged in
FB.init({appId: '123050457758183', xfbml: true, cookie: true});
FB.ui({
method: 'send',
name: 'People Argue Just to Win',
link: 'http://www.nytimes.com/2011/06/15/arts/people-argue-just-to-win-scholars-assert.html',
});
</script>
开发者_如何学JAVA </body>
</html>
But this returns error:
API Error Code: 3
API Error Description: Unknown method
Error Message: Unknown method
but when change to 'feed' dialog everything works perfectly.
There's a filed bug about it here. One solution is suggested though is to use display: 'popup'
精彩评论