+ 1
How to make a Twitter share button?
I've already googled it and found many options but none for what I want do exactly. I basically want to make it possible for people to share a specific paragraph of my website on twitter using bootstrap. I got to this point: <a href="https://twitter.com/share" class="btn btn-social btn-twitter"> <i class="fa fa-twitter"></i> Share on Twitter</i> </a> But i guess I'm missing something... does anyone have any ideia?
3 Antworten
0
Found this later on and turns out it is the perfect solution :
https://gist.github.com/McKinneyDigital/2884508#file-share-twitter-js
It's done with JavaScript.
This is how I've done it:
https://code.sololearn.com/WRpDH7gpm1W5/#js
+ 3
https://twitter.com/intent/tweet?url=http://your_url
0
super!! thank you so much! Toni Isotalo