og:图像没有刮,没有显示

时间:2015-03-21 22:21:20

标签: facebook

我已经看过关于这个主题发布的其他问题,因为有一个专门针对抓取但我无法在那里看到解决方案。

我还想知道元标记是否必须在每个网页上,还是只能在一个页面上?

我的主要问题是我的形象没有被刮掉。我已经使用了调试器并搜索和阅读并尝试了几个方法来解决这个问题,因此图像被删除并显示在任何Facebook帖子中但没有取得任何成功。实际图像大小有很多不同的信息,我尝试了各种尺寸,但仍然没有运气。该网站为Soup Surreal

非常感谢任何建议或帮助。谢谢。以下是被刮掉的内容。

Meta Tag    <meta property="og:url" content="http://soupsurreal.com/Soup_Surreal/index.html" />
Meta Tag    <meta property="og:title" content="Soup Surreal Serving, Stratford and Kitchener Region" />
Meta Tag    <meta property="og:description" content="I am delighted to introduce Soup Surreal products to you. With emphasis on quality and local ingredients, Soup Surreal products are made with passion and skill. It is my commitment to you to provide a quality and comforting soup to fill your bowl." />
Meta Tag    <meta property="og:site_name" content="Soup Surreal" />
Meta Tag    <meta property="og:type" content="website" />
Meta Tag    <meta property="og:image" content="http://soupsurreal.com/Soup_Surreal/images/fbimage.jpg" />
Meta Tag    <meta property="og:image:type" content="image/jpg" />
Meta Tag    <meta property="og:image:width" content="1600" />
Meta Tag    <meta property="og:image:height" content="1957" />

1 个答案:

答案 0 :(得分:0)

当我尝试直接访问图片时出现错误(403 Forbidden),这可以解释为什么它没有显示:http://soupsurreal.com/Soup_Surreal/images/fbimage.jpg

您还应该查看此页面以获得最佳图片尺寸:https://developers.facebook.com/docs/sharing/best-practices#images

...是的,OG标签应该在每一页上。至少在每个应该可以在Facebook(或其他地方)共享的页面上。

相关问题