jorenvh / laravel-share

Optional package for Laravel to generate social share links.
MIT License
529 stars 88 forks source link

Share on linked in doesn't work #86

Closed TasneemWahdan closed 1 year ago

TasneemWahdan commented 2 years ago

Thanks for this package, It's working properly except for the LinkedIn. When I click on LinkedIn share button The URL generated is something like this: https://www.linkedin.com/sharing/share-offsite/?mini=true&url=https://staging.medeventus.com/events/66/Medeventus%20First%20Event

and LinkedIn page says: Something went wrong Would you please help me to solve this issue?

3gHub commented 2 years ago

I have got the same issue. Kindly fix it. @jorenvh @pqrs @sandervankasteel @freekmurze
Kindly fix this issue. Also Facebook, Twitter and LinkedIn share is not opening on new tab like whatsapp and telegram

jorenvh commented 2 years ago

I don't have the time for it, but feel free to open a PR to fix this problem and a working test suite

Hashir12 commented 1 year ago

@TasneemWahdan i am also facing same issue, have you fixed it ??

TasneemWahdan commented 1 year ago

@Hashir12 I used addThis for sharing

Bolibick commented 1 year ago

The same problem... Linkedin not working

TasneemWahdan commented 1 year ago

I am using the package and LinkedIn share is working now! make sure to include these into website's head section:

    <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 clear the browser's cache since the error may appear there, or use another device to check