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 Share does not work in reactjs. Anyone can confirm? If works, please share code. Thanks #490

Open
nadirhussainnn opened this issue Mar 24, 2023 · 4 comments

Comments

@nadirhussainnn
Copy link

No description provided.

@PeterWCox
Copy link

@nadirhussainnn

This package isn't maintained anymore - just use this snipper (all of the other properties documented in the LinkedIn share button are deprecated

href={https://www.linkedin.com/shareArticle?mini=true&url=${props.itemUrl}}

image

@nadirhussainnn
Copy link
Author

Thanks @PeterWCox ,
I will try this.

@nadirhussainnn
Copy link
Author

nadirhussainnn commented Apr 20, 2023

@PeterWCox ,
It opens a linkedin window and works well. But On mobile screen it does not pre-fill post content IF Linkedin app is installed on user device. If linkedin app is not installed, it just opens up the linkedin window in browser with post content pre-filled. So how do you think we can handle this? Because we can't forece open the link in browser if apps are installed for particular URLs like linkedin app.

Hope i am clear in my explanation.
I would love to hear from you.
Thanks

@devamaral2
Copy link

@PeterWCox this url does not works for me.

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

3 participants