Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7996807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:47:53+00:00 2026-06-04T14:47:53+00:00

I need to be able to add sharing functionality to my custom button. I’m

  • 0

I need to be able to add sharing functionality to my custom button. I’m not interested with their generator, as I can’t change LinkedIn image there. I want to use my own image for the LinkedIn share button.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T14:47:55+00:00Added an answer on June 4, 2026 at 2:47 pm

    Official LinkedIn API for sharing:

    https://developer.linkedin.com/docs/share-on-linkedin

    Read Terms of Use!

    Example link using "Customized URL" method: http://www.linkedin.com/shareArticle?mini=true&url=https://stackoverflow.com/questions/10713542/how-to-make-custom-linkedin-share-button/10737122&title=How%20to%20make%20custom%20linkedin%20share%20button&summary=some%20summary%20if%20you%20want&source=stackoverflow.com

    You just need to open it in popup using JavaScript or load it to iframe. Simple and works – that’s what I was looking for!

    EDIT: Video attached to a post:

    I checked that you can’t really embed any video to LinkedIn post, the only option is to add the link to the page with video itself.

    You can achieve it by putting YT link into url param:

    https://www.linkedin.com/shareArticle?mini=true&url=https://www.youtube.com/watch?v=SBi92AOSW2E

    If you specify summary and title then LinkedIn will stop pulling it from the video, e.g.:

    https://www.linkedin.com/shareArticle?mini=true&summary=youtube&title=f1&url=https://www.youtube.com/watch?v=SBi92AOSW2E

    It does work exactly the same with Vimeo, and probably will work for any website. Hope it will help.

    EDIT 2: Pulling images to the post:

    When you open above links you will see that LinkedIn loads some images along with the passed URL (and optionally title and summary).

    LinkedIn does it automatically, and you can read about it here: https://developer.linkedin.com/docs/share-on-linkedin#opengraph

    It’s interesting though as it says:

    If Open Graph tags are present, LinkedIn’s crawler will not have to
    rely on it’s own analysis to determine what content will be shared,
    which improves the likelihood that the information that is shared is
    exactly what you intended.

    It tells me that even if Open Graph information is not attached, LinkedIn can pull this data based on its own analysis. And in case of YouTube it seems to be the case, as I couldn’t find any Open Graph tags added to YouTube pages.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to be able to add several hundred instances of a custom control
I'm building a custom module and I need to be able to add an
I need to be able to add a dropdown or button to the ckeditor's
Basically what I need is being able to add new functionality to my application,
Users need to be able to add a specific type of column to an
I need to be able to add rows to a table dynamically with jQuery
Users of the website need to able to store images in their area ,
I need to be able to add an <li> </li> to each UL within
I am loading images externally using jQuery load function.. but not able add light
I need to be able to add an arbitrary section to an ELF file.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.