Facebook OG图像的东西是一场噩梦。你如何解决保持图像始终在Facebook上出现的权利?我目前正在努力为网站论坛获取默认图片设置。论坛在phpBB。我已将此代码添加到标题中。强制Facebook OG图像一致性
<meta property="og:image" content="https://fyxtrpg.com/wp-content/gallery/assets/fyxt-rpg-forum-default-facebook-image.jpg" />
<meta property="og:image:type" content="image/jpeg">
<meta property="og:image:width" content="484">
<meta property="og:image:height" content="252">
图像被设置为它应该是的确切大小。我甚至告诉Facebook。但它仍然扼杀了两端。
我也收到一个错误,说它无法下载图像或者它太小。它不小,超过200px分钟。它也在调试器中列出,并显示Facebook确实可以下载它。
我的URL:https://fyxtrpg.com/fyxt-forum/viewtopic.php?f=7&t=128
Facebook的调试信息
Time Scraped 2 seconds ago
Response Code 206
Fetched URL https://fyxtrpg.com/fyxt-forum/viewtopic.php?f=7&t=128
Canonical URL https://fyxtrpg.com/fyxt-forum/index.php
Notice
Warnings That Should Be Fixed
og:image could not be downloaded or is too small og:image was not defined, could not be downloaded or was not big enough. Please define a chosen image using the og:image metatag, and use an image that's at least 200x200px and is accessible from Facebook. Image 'https://fyxtrpg.com/wp-content/gallery/assets/fyxt-rpg-public-beta-logo.jpg' will be used instead.
To find the object, these are the redirects we had to follow
original https://fyxtrpg.com/fyxt-forum/viewtopic.php?f=7&t=128
og:url https://fyxtrpg.com/fyxt-forum/index.php
The following will be treated as a redirect by the crawler:
A HTTP redirect
A <link rel="canonical" href=".." /> tag
A <meta property="og:url" content=".." /> tag
The final URL, which we tried to extract metadata from is highlighted in bold
These are the raw tags that we found
Meta Tag <meta property="og:url" content="https://fyxtrpg.com/fyxt-forum/index.php" />
Meta Tag <meta property="og:title" content="Fyxt RPG Forums" />
Meta Tag <meta property="og:description" content="The free to play Fyxt RPG system offers RPG players a fun, fast, and flexible RPG experience. Play any genre, setting, or character for free with Fyxt RPG!" />
Meta Tag <meta property="og:image" content="https://fyxtrpg.com/wp-content/gallery/assets/fyxt-rpg-forum-default-facebook-image.jpg" />
Meta Tag <meta property="og:image:type" content="image/jpeg" />
Meta Tag <meta property="og:image:width" content="484" />
Meta Tag <meta property="og:image:height" content="252" />
Based on the raw tags, we constructed the following Open Graph properties
og:url https://fyxtrpg.com/fyxt-forum/index.php
og:type website
og:title Fyxt RPG Forums
og:image
og:description The free to play Fyxt RPG system offers RPG players a fun, fast, and flexible RPG experience. Play any genre, setting, or character for free with Fyxt RPG!
og:updated_time 1417807331
正如你所看到的调试器说,它无法找到它然后显示我的一切,它实际上没有找到数据。
当我发布的图像被裁剪,但如果我删除,手动上传它适合罚款。这是不可接受的,我需要知道,任何人从网站分享的东西都会有一个像样的图像出现。没有一个被切碎或扭曲。
我该如何解决这个问题,以便Facebook看到图像并一致地显示它?
有没有一种方法的过程,有人可以建议,以确保所有链接到网站将X尺寸的照片/缩略图?这真是令人沮丧,因为它似乎有时Facebook使用肖像,其他时间的景观,其他时间一个正方形。我甚至注意到它使用不同的方法发布相同的图片。这使得很难确保Facebook上的图像看起来不错。
感谢您的建议和帮助!
更多信息增加...我也发送了无数的Facebook错误报告,因为这些东西需要修复。
我也发现Facebook在创建和发布之间并不一致。这包括分辨率,比例和其他一些事情。这是我在ONE尝试发布的帖子中发现的一个混乱。
如果任何人有我渴望听到如何真正与Facebook和他们的反对API和不工作的任何建议...
有类似的问题,但我使用的是Drupal CMS。按照Facebook的规定,我的图像被裁剪为600x315,但FB调试器给我的警告是关于og:image无法下载或太小。然后在预览区域中,有时会使用正确的图像,有时则不会。完全没用的调试信息。我感到你的痛苦: -/ – JamesWilson 2014-12-20 21:30:06
好问题,可惜没人回答!挣扎着同样的东西...... – Cyprus106 2015-03-21 15:00:33