简体   繁体   English

Facebook UI发送

[英]Facebook UI send

I am using this facebook ui 我正在使用这个facebook ui

FB.ui({
  method: 'send',
  to: the_users_ids,
  link: 'http://ngtv2.info/',
  name: 'I have a message here http://ngtv2.info/',
  caption: 'The caption',
  description: ('the descript'),
  picture: 'the/path/of/thumb_snow_leopard.jpg'
});

the send facebook ui appears, but when I click on the send button and then check the fb account that suppose to get the message, It does not appear on the message list. 发送facebook ui,但是当我点击发送按钮,然后检查假设收到消息的fb帐户时,它不会出现在消息列表中。

I am having a internal server error, and also this image 我有一个内部服务器错误,还有这个图像 在此输入图像描述

Any idea? 任何想法?

I think my link is invalid, how can I make the link valid? 我认为我的链接无效,如何才能使链接有效?

API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration.

在此输入图像描述

Thank you in advance, King 谢谢你,金

Are you testing your application on localhost? 您是否在localhost上测试您的应用程序? That will not work. 那不管用。

I'll bet that the ids in the list are not friends of the user initiating the dialog. 我敢打赌,列表中的ID不是启动对话框的用户的朋友。 Or that the script is being run from a domain not listed in the app settings correctly. 或者说,脚本是从应用程序设置中未正确列出的域运行的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM