Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React-share LinkedIn

By the way, I asked this question yesterday, but did not get the desired result.

I am trying to set sharing messaging via LinkedIn. I understand that to work your parameters have to be encoded. For example I made the link:

https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fathenatools.com%2Fafk&title=ATHENA%20Tools%20by%20Invitation%20Only&summary=Create%20Worlds%20in%20your%20dev%20tool%2010X%20faster%2C%2010X%20cheaper%20and%20in%20more%20detail!%20https%3A%2F%2Fathenatools.com%2Fafk%20BY%20INVITATION%20ONLY%20-%20you%20will%20need%20my%20referral%20code%20RFCODE2F%20to%20join.%20%23ATHENAtools&source=AthenaTools

Parameters in the API: enter image description here

But it works and displays only one parameter correctly, the link: enter image description here

So I did not give up and tried via the library React-share, but it does not work either. For example I set parameters per the documentation: enter image description here

But I get this: enter image description here

So, I need to add the title, description, and some code which will change every time when a user signs up and the desired image.

like image 709
Max Avatar asked Mar 05 '23 12:03

Max


1 Answers

This is no longer possible. To share rich media on linked in you have to become linked in business partner. After become linked in business partner then you'll have access to linkedIn API and you'll be able to share the desired content. Without becoming linkedIn business partner you can only share URL but not description, images or videos etc. Have a look at this link. https://business.linkedin.com/marketing-solutions/marketing-partners/become-a-partner/marketing-developer-program

like image 87
Ismaeel Haider Avatar answered Mar 16 '23 18:03

Ismaeel Haider