“帖子的链接必须指向应用程序的连接或画布 URL” - 错误
我正在尝试发布到用户墙,但当共享窗口弹出时,我收到此错误:
The post's links must direct to the application's connect or canvas URL
现在,我进行了适当的 Google 搜索,希望找到解决方案,但唯一给出的一个是我需要禁用“流发布”网址安全”。我检查了我的应用程序的高级设置,它已设置为禁用。
因此,凭借在 Facebook 上几年的开发经验,并且了解过去我们开发人员和 FB 之间的沟通有多么糟糕,我非常怀疑他们是否会在这方面帮助我。虽然我听说 SO 上的反馈比旧的 FB 平台论坛更好。好吧,让我们看看我唯一的选择是否是点燃我的头发,或者是否有一个善良的灵魂可以提供帮助。
I am trying to post to user wall but I am receiving this error when when share window pops up:
The post's links must direct to the application's connect or canvas URL
Now, I made a proper Google search in hopes to find a solution, but the only one given was that I need to disable "Stream post URL security". I checked the advanced settings for my app and it is already set to disabled.
So, by having a few years of experience with development on Facebook, and by knowing how incredibly bad the communication between us developers and FB has been in the past, I'm highly doubtful that they will assist me on this. Although I have heard that feedback is better here on SO than the good old FB platform forums. Well, lets see if my only option is to set my hair on fire or that there might be a kind soul out there that can assist.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
这个答案来自 用户 Samuel Wood (Otto) 的 WordPress 论坛为我工作:
转到 Facebook 应用程序。编辑其设置。在“高级设置”页面上,禁用“流发布 URL 安全”选项。
This answer from the WordPress forums via user Samuel Wood (Otto) worked for me:
Go to the Facebook App. Edit its settings. On the Advanced settings page, disable the "Stream post URL security" option.
您是否使用 FB 上的图形浏览器应用程序生成了访问令牌?
确保从右上角的选择框中选择您的应用程序。
默认情况下它将被选为 Graph Explorer。
发生此错误的原因是所选应用程序是图形浏览器,并且其画布/站点 url 未指向您的站点。
这样做解决了我的问题;它也可能会修复你的问题。
Did you generate the access token using the Graph explorer app on FB?
Make sure you select your app from the select box on the top-right.
It will be selected as Graph Explorer by default.
This error happens as the selected app would be Graph explorer and its canvas/site url is not pointing to your site.
Doing this fixed my problem; it may fix yours as well.
在新的应用程序界面中,通过关闭“迁移选项卡”中的“流帖子 URL 安全性”即可解决问题
With the new app interface, issue is solved by turning off the "Stream post URL security" in the "migration tab"
您始终必须使用应用程序开发人员设置中指定的相同域进行链接。现在您还可以拥有多个顶级域名和自定义前缀。
you always have to use the same domain for linking as specified on the app's developer settings. Now you can have several tlds, and custom prefixes as well.
对于遇到此问题的其他人,我可以通过配置 Facebook > 来解决此问题。应用程序>设置> Facebook 上的应用程序 >画布网址
For others experiencing this problem, I was able to resolve this by configuring the Facebook > App > Settings > App on Facebook > Canvas URL