Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I add Twitter and Facebook social media buttons to my web site?

I want to add Twitter and Facebook social media buttons to my HTML5 app / web site. Does anybody have any "drop-in" code for that?

like image 571
B. Clay Shannon-B. Crow Raven Avatar asked Oct 05 '13 13:10

B. Clay Shannon-B. Crow Raven


4 Answers

For facebook, see what button do you want to add, and use facebook's wizard for generation your custom code:

http://developers.facebook.com/docs/plugins/

and this one for twitter:

https://dev.twitter.com/

like image 103
Tito Tito Avatar answered Oct 17 '22 18:10

Tito Tito


I downloaded button images as jpegs and added a link to the image (using Kompozer software). Once they were added I also added target="_blank" before the link address to make sure a new tab is opened rather than redirecting the web user to someone else's site :)

target="_blank" href="https://twitter.com/username 
like image 41
Shanti Kate Grafton Avatar answered Oct 17 '22 18:10

Shanti Kate Grafton


Find suitable icons for yourself off line and add links to your facebook/twitter/linked in etc pages.

That way you have control over the design.

like image 1
Ulad Kasach Avatar answered Oct 17 '22 20:10

Ulad Kasach


just add icon of facebook, twitter or what you want and hyperlink the URL of this web where you want to redirect your audience.

like image 1
RONI JUTT Avatar answered Oct 17 '22 19:10

RONI JUTT