Facebook, world's top social network gives a new way represents the love of a user for a site by giving it Like. As the time passed population and popularity of Facebook both increases. Facebook gives us Like button. Facebook plays a big role in SEO. Facebook is big source of traffic. Also Facebook pages are high ranked in Google Search. So it is very important to have a website fan page. More likes your page get more popular your site become and more people get engaged to your site.
For any site the method to promote his facebook page is own site.So how to add the Facebook like button and where should be placed it?
Easiest Way to Add Facebook Like button to any website-As we go to facebook developer and create a like button we get two ways to integrate it to our site. One is js sdk and other is iframe. In this tutorial i taught you the iframe method.
Why Iframe?Ifame actually a html tag which is used to add other web pages to our site in a form of container. Actually it added a box shape in site in which the other site opens. In this way we can add any site to our webpage.Iframe we can use approximately in every platform. For example in Blogspot, WordPress, html or php etc.
For adding like button in site we use iframe became of it usability. For using Iframe method we does not need to import or add up any facebook library. We just need a line of code. You can add this button anywhere you like by just using below code-:
<iframe src="https://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2FYou need to change red coloured code with your facebook page url and your code is ready.thetechwithus&layout=standard&action=like&size=small&show_faces=false&share=true&height=35&appId" height="35" style="border:none;overflow:hidden;width:100%;" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
Live Output: You can also use Facebook Like Button Generator. (unofficial but fast and easy) Last Line-:
Facebook likes is icon of popularity. You should add it to your site. Also you can Earn money with Facebook page.
Comments
Post a Comment