简体   繁体   English

不要在共享链接的元标记中使用 Og

[英]don't working Og in meta tag in sharing link

I set all Og tags to my website.我将所有 Og 标签设置到我的网站。 But when I share a link from my website on social networks such as WhatsApp and Telegram, the image and other information is not displayed.但是当我在 WhatsApp 和 Telegram 等社交网络上分享我的网站链接时,图像和其他信息不会显示。

在此处输入图像描述

在此处输入图像描述

I even tried with a small photo but it still did not show What is the problem?我什至尝试了一张小照片,但它仍然没有显示有什么问题? I did a lot of research but I still haven't succeeded.我做了很多研究,但我仍然没有成功。 Please help me.请帮我。 Thank you谢谢

I have had similar issues with Open Graphs tags... Facebook keeps updating the tags and their documentation does not make it clear.我在 Open Graphs 标签上遇到过类似的问题... Facebook 不断更新标签,他们的文档没有说清楚。

I suggest copy-pasting your url in Open Graph debugger which would highlight any issues with your OG tags.我建议将您的 url 复制粘贴到Open Graph 调试器中,这将突出显示您的 OG 标签的任何问题。

I don't see any issues with your tags, but you might want to include the following tags:我没有发现您的标签有任何问题,但您可能希望包含以下标签:

og:image:url
og:site_name
og:country-name

Also this question might be helpful. 这个问题也可能会有所帮助。

I realized that the address in the og:url should be exactly like the address of site.我意识到 og:url 中的地址应该与站点地址完全相同。

Then, if this address is complete(https://www.websiteurl...) will be shown in Telegram and WhatsApp.然后,如果此地址完整(https://www.websiteurl...)将显示在 Telegram 和 WhatsApp 中。 If it does not have one of the "https" and "www",information may not be displayed in one.如果它没有“https”和“www”之一,则信息可能不会显示在一个中。

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

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