Facebook Javascript SDK:发送对话redirect_uri不起作用

时间:2013-07-10 13:52:00

标签: facebook facebook-graph-api facebook-javascript-sdk

我正在使用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>

0 个答案:

没有答案