Linkedin:共享URL摘要未出现 [英] Linkedin: Sharing URL Summary not appearing

查看:163
本文介绍了Linkedin:共享URL摘要未出现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不确定这是新行为还是根本不起作用. 因此,我正在使用LinkedIn自定义URL功能,您可以在此处进行查找.网址看起来像这样:

https://www.linkedin.com/shareArticle?mini=true&url=http://developer.linkedin.com&title=LinkedIn%20Developer%20Network&summary=My%20favorite%20developer%20program&source=LinkedIn

一旦我共享了URL,提供的summary就不会显示在帖子预览中:

因此,我尝试使用其他服务(例如Youtube,Reddit等),并且所有帖子都包括提供的摘要.

不幸的是,由于我的网站是在公司环境中运行的,因此我无法提供我在网站上使用的开放图片标签,并且不确定目前是否可以提供这些摘要.

但是,运行linkedin的 Post Inspector 显示,它可以检测到我的摘要,而不会出现问题:

如果有人想知道的话,值是德语...

因此,我的快速而简单的问题(也可能会在评论中得到回答)是

linkedin改变了他们的立场吗? 是否还有其他一些未记录的属性,自定义的URL都没有包含youtube和我,因此摘要未显示出来? 有没有来自Linkedin开发人员的帖子来记录此更改? 一直都是这样吗?还是只是暂时的事情?

解决方案

LinkedIn现在使用Open Graph标签显示预览.

下面是必须存在的og:tags及其正确格式:

<meta property='og:title' content='Title of the article"/>
<meta property='og:image' content='//media.example.com/ 1234567.jpg"/>
<meta property='og:description' content='Description that will show in the preview"/>
<meta property='og:url' content='//www.example.com/URL of the article" />

并且共享网址更改为:

https://www.linkedin.com/sharing/share-offsite/?url=your_encoded_url

请参见here. The URL looks like this:

https://www.linkedin.com/shareArticle?mini=true&url=http://developer.linkedin.com&title=LinkedIn%20Developer%20Network&summary=My%20favorite%20developer%20program&source=LinkedIn

Once I share the URL the provided summary is not shown in the post preview:

So I tried with other services like Youtube, Reddit etc. and all posts do not include the provided summary.

Unfortunately I can't provide you the open-graph tags I used on my site as it's running in a corporate environment and I'm not sure if I can provide these snippets as of now.

However, running linkedin's Post Inspector shows that it detects my summary without problems:

Values are in German if anyone wonders...

So my quick and fairly simple questions, which might be answered in a comment as well, are:

Did linkedin change something on their side? Is there some other undocumented property which neither youtube nor me included in the customized URL and therefore the summary does not show up? Is there any post from linkedin developers which note this change? Was it like that all the time or is it just a temporary thing?

解决方案

LinkedIn now uses the Open Graph tags to show the preview.

Below are the og:tags that must exist and their correct format:

<meta property='og:title' content='Title of the article"/>
<meta property='og:image' content='//media.example.com/ 1234567.jpg"/>
<meta property='og:description' content='Description that will show in the preview"/>
<meta property='og:url' content='//www.example.com/URL of the article" />

And the sharing url is changed to:

https://www.linkedin.com/sharing/share-offsite/?url=your_encoded_url

Please see this Making Your Website Shareable on LinkedIn

这篇关于Linkedin:共享URL摘要未出现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆