Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (430)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
Adding Facebook Like Button to Website
How do I add the Facebook Like button to my Website?
✍: FYIcenter.com
Adding the Facebook Like button to your Website is really easy. You can get it done 3 steps:
1. Open the HTML source code of your Website and add the following code right after the opening <body> tag:
<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
2. Move to the location in the HTML source code where you want the Like button to show and enter the following code:
<div class="fb-like" data-href="/your_website_url" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div>
3. Upload the modified HTML source code to your Website.
4. Test it out and done.
⇒ Adding Image on Website for Facebook Share
⇐ Integrating Website with Facebook
2015-10-24, 2001🔥, 0💬
Popular Posts:
Why the "dir" command hangs when using the FTP command-line tool on Windows? when you run the "dir" ...
How to convert a Word document into an MHTML? I have a nice Word document and want to publish it on ...
What contents are stored in a Web Archive (.mht) file? When you convert a word document into a singl...
How to use my iPhone and iPad to set up and manage Chromecast device on my TV? I have a Chromecast d...
How to add ActiveX controls, like text command button, text box, check box, etc., to Presentation sl...