共享应用程序 URL 问题
当我在我的状态中发布我的应用程序网址(复制并粘贴网址)时,我看到的预览是正确的。我可以看到 facebook 从我的 og:image 标签中提取的缩略图以及标题和描述...但是...一旦我按下发布按钮,标题、图像和描述就会消失,只剩下页面的链接。 我分享的网址不包含什么,而是开放图协议元标签... 奇怪的是..当将 URL 作为评论发布时,不会发生这种行为 - 当作为评论发布时,所有 og:tags 都会被正确读取并显示在我的评论中,包括图像、标题和描述...
当使用 facebook 的 调试器(以前称为 Linter),我的 url 返回正确的 mega og 标签值...缩略图、描述、标题都是正确的。仅在帖子发布并出现在我的新闻源中后,问题才会出现。
任何想法将不胜感激!
When I post my applications url in my status (copying and pasting the url), the preview that I see is correct.. I can see the thumbnail that facebook extracted from my og:image tag along with the title and description...But... as soon as I press the post button, the title, image and description disappear and I am left with only the links to the page.
The url I am sharing contains NOTHING but the open graph protocol meta tags...
Strangely.. this behavior does not occur when posting the URL as a comment - when posting as a comment all the og:tags are read correctly and displayed in my comment including image, title and description...
When using facebook's Debugger (formerly known as Linter), my url returns the correct mega og tag values... thumbnail, description, title are all correct. The problem arises only after the post is made and appears in my news feed.
Any ideas will be greatly appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“我共享的网址仅包含开放图形协议元标记”是什么意思?
那么它是如何链接到您的应用程序的呢?
我想你可能会犯我曾经犯过的错误。
首先,确保您不共享页面选项卡应用程序的链接。除非它是画布应用程序的链接,否则它将无法工作。如果您希望将其作为页面选项卡应用程序的链接,请使用此处的技巧:
其次,FB会从og标签中的url中提取标签。因此,如果您在使用它时认为 FB 会使用链接中的 og 标签和标签中的 url 进行发布,那么您就错了。 FB 将转到 og 标签中的 url 并从那里提取数据。
您能给我们您想要分享的链接吗?
What do you mean by "The url I am sharing contains NOTHING but the open graph protocol meta tags" ?
How is that a link to your app then?
I think you might be doing the same mistakes I once did.
First of all, make sure you do not share the link to a page tab app. It won't work unless it's a link to a canvas app. If you want it as a link to a page tab app, use the trick here: http://nonsmokingarea.com/stream/items/view/4427/facebook-how-to-build-a-like-button-linking-to-a-particular-tab-on-a-page
Second, FB will extract the tags from the url in the og tag. So if you're using it thinking that FB will post using the og tags in your link and the url in the tag, you are wrong. FB will go to the url in the og tag and extract the data from there.
Can you give us the link that you want to share?