转发公司网站时包含图片
我想更改当您发布到我的网站的链接时显示的图片,以将其替换为我的徽标。
我知道我可以通过向您的“index.html”添加特定的元标记来控制 Facebook 使用的确切标题、描述和缩略图,并且已阅读 Facebook 开发人员的支持页面。尽管我添加了代码
<meta property="og:title" content="title" />
<meta property="og:description" content="description" />
<meta property="og:image" content="thumbnail_image" />
并用我喜欢的条目更新了“标题”、“描述”和“thumbnail_image”,但这没有什么区别,因为 Facebook 仍然使用(默认情况下)index.html 上的其他图像。该链接允许您在发布链接时从这些图像中进行选择,但它不提供我放置在“thumbnail_image”内容下的徽标。
帮助将不胜感激
I want to change the picture that appears when you post a link to my website to replace it with my logo.
I understand that I can control the exact title, description, and thumbnail that Facebook uses by adding specific meta tags to your "index.html" and have read the Facebook developers' support page. Although I added the code
<meta property="og:title" content="title" />
<meta property="og:description" content="description" />
<meta property="og:image" content="thumbnail_image" />
and updated "title", "description" and "thumbnail_image" with my preferred entries, this made no difference as Facebook still used (by default) the other images that are on the index.html. The link allows you to choose from these images when you post the link but it does not offer my logo that I placed under content in "thumbnail_image".
Help would be appreciated
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Facebook 对其显示的 URL 进行一些缓存。尝试使用此工具来调试问题。它还将刷新缓存的有关您网站的所有信息。
Facebook does some caching on the URLs it displays. Try using this tool to debug the problem. It will also refresh whatever information is cached about your website.