Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linkedin title / description doesnt work? #184

Closed
luisfuertes opened this issue Sep 26, 2018 · 7 comments
Closed

Linkedin title / description doesnt work? #184

luisfuertes opened this issue Sep 26, 2018 · 7 comments

Comments

@luisfuertes
Copy link

I try to add title, description, summary, etc, but linkedint not show on share window. Only url. Any idea?

Example:

<LinkedinShareButton url={shareLink} title={'title demo'} description={'description demo'} summary={'summary demo'}>
          <LinkedinIcon size={32} round={true} />
        </LinkedinShareButton>

Version:
"react-share": "^2.3.0"

Image result:
captura de pantalla 2018-09-26 a las 17 17 30

Thanks!

@malikshahzad228
Copy link

malikshahzad228 commented Oct 3, 2018

Any update on this?

I have explored the code, LinkedinShareButton.js:8 This file expects url and description as object(hash) but how can someone send props as object(hash)?

Code preview from file:
function linkedinLink(url, { title, description }) {}

Isn't this should be:
function linkedinLink(url, title, description) {}

@vsc-github
Copy link

Bump. Is there a workaround to this?

@malikshahzad228
Copy link

@vsc-github Sadly, No, because LinkedIn has updated its Share API and this feature is removed. you can also see their Plugin generator page, it only has url field.

If you somehow force title into params(via query params), LinkedIn redirect on itself only with URL param.

@vsc-github
Copy link

@malikshahzad228 Yep, checked that. Looks like there's no way to do it.

@malikshahzad228
Copy link

@vsc-github One way is to use LinkedIn developer rest API. But for that you have to signup as LinkedIn partner program. Then you can generate LinkedIn developer app, and start using rest APIs.

@umair-khanzada
Copy link

Is there any update on this ?

@rockbjornen
Copy link

When will @aautio's changes be merged and a new version published? Really would like this to work :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants