为什么 facebook 的dialog.feed 需要app_id
我正在使用
facebook.com/dialog/feed?app_id=...&caption=...&description=...
因为它允许我动态设置共享对话框的内容盒子。
我不明白为什么需要 app_id
。
有什么想法吗?
I am using
facebook.com/dialog/feed?app_id=...&caption=...&description=...
Because it allows me to dynamically set the content of the share dialog box.
I do not understand why an app_id
is required for this.
Any thoughts?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据此处的文档: https://developers.facebook.com/docs/reference/dialogs /feed/ app_id 用于识别您的应用,因此 Facebook 的后端系统可以确认以下要求。该要求是“请注意,上面的示例假设用户已经登录并已授权您的应用程序。”
旧的 sharer.php 已被弃用。我只能假设这是由于在没有应用程序或用户授权的情况下使用它的人滥用造成的。还记得我们可以信任邻居并不锁门的日子吗?那些日子已经一去不复返了。
per the documentation here: https://developers.facebook.com/docs/reference/dialogs/feed/ the app_id is used to identify your app so the following requirement can be confirmed by Facebook's backend systems. That requirement is "Note that the above example assumes that the user is already logged in and has authorized your application."
The old sharer.php is being deprecated. I could only assume that it is due to abuse from people using it without having an app or a user's authorization. Remember the days when we could trust our neighbors and leave our doors unlocked? Those days are no more.