1

我正在使用 facebook 发送对话框,并希望在对话框关闭时重定向到 URL。

FB.ui({
   method: 'send',
   link: 'http://***.com', 
   redirect_uri: '****', // publicly available URL
   description: '***',
   picture: '***',
   to: userId
   },
);

消息发送并且 iframe 关闭,但不重定向。我可以为此使用 FB.ui,还是需要构建另一个回调函数?

4

1 回答 1

0

If sending the message is successful, the user will be redirected to the redirect_uri. Otherwise, an error will be shown.

As per facebook documentation there is no callback for send method

please refer: https://developers.facebook.com/docs/reference/dialogs/send/

于 2012-04-03T17:25:12.813 回答