我正在使用 FB Javascript 发送对话。我希望 iframe/popup 重定向到另一个 url,以便我可以标记 FB 消息已发送。但是redirect_uri
似乎不起作用。
<script>
function test(){
FB.init({appId: 'xxxxxxxxxx', xfbml: true, cookie: true});
FB.getLoginStatus(function(response) {
//call dialog her
FB.ui({
method: 'send',
link: 'http://www.google.com',
redirect_uri: 'google.com',
picture: 'http://fbrell.com/f8.jpg',
caption: 'Reference Documentation',
description: 'Dialogs provide a simple, consistent interface for applications to interface with users.',
redirect_uri: 'http://127.0.0.1:4567/home'
});
});
}
</script>