微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

html – LinkedIn在共享网站时不会获取元数据

我在分享我在LinkedIn上工作的网站时遇到问题:LinkedIn无法从页面获取任何数据.该网站的元数据遵循 their docs中的建议.我尝试了所有 these suggestions.

另外我调查了以下内容

>通过HTTP而不是HTTPS提供内容,但通过HTTPS(例如https://stripe.com/nohttps://www.facebook.com/)提供的许多其他网站都可以正常工作.
>作为公司页面发布.除了允许手动数据输入(作为临时解决方案),这没有任何区别.
>以不同的用户身份发布.没有任何区别.
>在网站上发布新内容,确保没有被LinkedIn缓存元数据.这也没有任何区别.
>在添加Open Graph元标记之前,这也是一个问题.

This might be a problem caused by LinkedIn,但是 – 考虑到这适用于其他网站 – 我开放的可能性是我做错了事情.

解决方法

我不认为您的LinkedIn数据可能会从您的网站上获取大约一周的更改:

The first time that LinkedIn’s crawlers visit a webpage when asked to share content via a URL,the data it finds (Open Graph values or our own analysis) will be cached for a period of approximately 7 days.

This means that if you subsequently change the article’s description,upload a new image,fix a typo in the title,etc.,you will not see the change represented during any subsequent attempts to share the page until the cache has expired and the crawler is forced to revisit the page to retrieve fresh content.

https://developer.linkedin.com/docs/share-on-linkedin(滚动到底部)

原文地址:https://www.jb51.cc/html/224660.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐