简体   繁体   中英

Facebook sharer.php - share text?

I am trying to implement facebook share button in my webpage. Here is my code:

<a class="btn btn-social-icon btn-facebook" href="https://www.facebook.com/sharer/sharer.php?u=test.com" target="_blank">
    <i class="fa fa-facebook"></i>
</a>

What are my options if I want to share just a simple text, not an URL ? Is there some kind of text param ?

Facebook allows meta tags to specify some parameters to pass over. See facebooks developer page for more info.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM