Get text share button for linkedin

import streamlit as st
import streamlit.components.v1 as components

components.html(
    """
        <a href="https://twitter.com/share?ref_src=twsrc%5Etfw" class="twitter-share-button" 
        data-text="Check my cool Streamlit Web-App🎈" 
        data-url="https://streamlit.io"
        data-show-count="false">
        data-size="Large" 
        data-hashtags="streamlit,python"
        Tweet
        </a>
        <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
    """
)

I’d like to have something similar but for LinkedIn where I can give a text as a parameter and it pre-populates the post editor on linkedin

3 Likes

That would be cool! Be sure to share in Show the Community if you end up building something :balloon: