Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Luis Oliveira 21 posts 141 karma points
    Jan 29, 2020 @ 10:27
    Luis Oliveira
    0

    Share blogpost in linkedin

    Hi everyone,

    I would like have a linkedin icon on my articles pages (blogpost) to be able share on this social media. Can somone explain me how to do it? i have done a test inserting a Calltoaction with the linkedin icon but what is opening when click e just the linkedin general page.

    There is any code line i could insert in buttom link and works? or will be necessary more than this?

    Thank you !

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    Jan 29, 2020 @ 10:46
    Alex Skrypnyk
    1

    Hi Luis,

    The easiest way to do it - use js plugin like http://js-socials.com/

    You can customize the data that will be shared in social media in meta tags.

    Thanks,

    Alex

  • Luis Oliveira 21 posts 141 karma points
    Jan 29, 2020 @ 14:57
    Luis Oliveira
    0

    Hi Alex

    Hi will try doing as you say.

    Thanks for your help, i will notify you if have success.

    br Luis

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    Jan 29, 2020 @ 15:07
    Alex Skrypnyk
    0

    You are always welcome.

  • Luis Oliveira 21 posts 141 karma points
    Feb 11, 2020 @ 12:12
    Luis Oliveira
    0

    Hi Alex

    I didn't say nothing yet because when i was trying i couldn't finish cause didn't really know how to do it.

    Meanwhile, maybe you can also help in this. I have some articles/blog posts published and sometimes i need publish new ones. But everytime i publish the article goes to end of page and i need it see it at begin of my articles. Resuming, see last ones at begining. Its possible inverse the order of my blogposts?

    thanks

  • Steve Morgan 1350 posts 4460 karma points c-trib
    Feb 11, 2020 @ 16:29
    Steve Morgan
    0

    Hi Luis,

    I've done this in a very simple (from memory) undocumented way..

    Just generate a URL like the following (with the relevant LinkedIn icon). https://www.linkedin.com/shareArticle?mini=true&url=@url

    HTH

    Steve

    UPDATE: more info here: https://stackoverflow.com/questions/10713542/how-to-make-a-custom-linkedin-share-button

  • Luis Oliveira 21 posts 141 karma points
    Feb 11, 2020 @ 16:36
    Luis Oliveira
    0

    Hi Steve

    Thank you for the suggestion.

    So, if just put the linkedin icon on article and use the URL like that could be possible share ?

    I will test your suggestion.

    Thanks again!

    br Luis

  • Luis Oliveira 21 posts 141 karma points
    Feb 11, 2020 @ 20:21
    Luis Oliveira
    0

    Hi Steve

    I have done a test with a article to share using the URL you suggest https://www.linkedin.com/shareArticle?mini=true&url=@url but when click to share with the login at linkedin i got error from Linkedin, it seams not identify the article page.

    Maybe i should add something more the URL?

    br Luis

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies