简体   繁体   English

Facebook分享链接错误

[英]Facebook sharing link error

I'm using this working example to create a share link: 我正在使用这个工作示例来创建共享链接:

https://www.facebook.com/dialog/feed?app_id=145634995501895&display=popup&caption=An%20example%20caption&link=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fdialogs%2F&redirect_uri=https://developers.facebook.com/tools/explorer https://www.facebook.com/dialog/feed?app_id=145634995501895&display=popup&caption=An%20example%20caption&link=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fdialogs%2F&redirect_uri=https://developers。 facebook.com/tools/explorer

I change app_id to one which I created, and links which are placed in app settings too. 我将app_id更改为我创建的一个,并将链接也放置在应用程序设置中。

https://www.facebook.com/dialog/feed?app_id=755901181123275&display=popup&caption=An%20example%20caption&link=http://www.tousdanette.com/&redirect_uri=http://www.tousdanette.com/ https://www.facebook.com/dialog/feed?app_id=755901181123275&display=popup&caption=An%20example%20caption&link=http://www.tousdanette.com/&redirect_uri=http://www.tousdanette.com/

It is working if i'm logged in with account which I used to create the app. 如果我使用我用来创建应用程序的帐户登录,那么它可以正常工作。 But if I send link to another person it shows an error: 但是,如果我将链接发送给其他人,则会显示错误:

"An error occurred. Please try again later." “发生了一个错误。请稍后重试。”

Maybe I need to apply some settings in fb app? 也许我需要在fb应用中应用一些设置? or any other ideas? 或其他任何想法?

I had the same issue a while back, 我前段时间有同样的问题,

Go to your application dashboard and the app that uses the ID you require and see if the application is live to the public. 转到您的应用程序信息中心和使用所需ID的应用程序,然后查看该应用程序是否对公众开放。

If this doesnt work try a diffrent app to test the link. 如果这不起作用,请尝试使用其他应用程序测试链接。

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

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