Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linkedin: Sharing URL Summary not appearing

Tags:

I'm not sure if this is new behaviour or if it didn't work at all. So I'm using the LinkedIn Customized URL feature, you can look it up 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:

LinkedIn Screenshot containing a shared post sample

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:

PostInspector Output 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?

like image 419
Pascal Raszyk Avatar asked Jul 05 '18 10:07

Pascal Raszyk


People also ask

Why can't I share a link on LinkedIn?

URLs with spaces in them can't be shared on LinkedIn and will result in an error. To make the URL shareable on LinkedIn, you can ask the website owner to encode the white space or remove the spaces from the URL.

How do I add a share button on LinkedIn?

Simply visit Appearance » Widgets page and add the 'Custom HTML' widget to a sidebar. Next, add your LinkedIn Share button code inside the custom HTML widget and click on the save button to store your changes. You can now visit your website to see it in action.


1 Answers

Main Problem People are Experiencing: You cannot display BOTH an image and a description. You may only use one. Indicating an OG tag for image means your description will not display. Source: Arguing with LinkedIn Support for 2 Weeks.

LinkedIn only supports one parameter in their share content now:

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

Source: Microsoft LinkedIn Share URL Documentation.

If you want to specify title and summary, then you need the og tags, but these are things LinkedIn associates with the URL, and it doesn't populate in the message body.

Otherwise, this works for me:

https://www.linkedin.com/sharing/share-offsite/?url=http://www.wikipedia.org/

Works fine:

If you are interested in a regularly maintained GitHub project that keeps track of this so you don't have to, check it out! Social Share URLs

Social Share URLs Image

like image 194
HoldOffHunger Avatar answered Sep 22 '22 13:09

HoldOffHunger