How to make a Facebook โ€œLikeโ€ button, which is just a link, not an iFrame?

I would like to put a โ€œLikeโ€ button in the email that will be sent to our email newsletter subscribers. The usual way to embed a Like button using the iframe technique will not work.

What I would like to do is to have a static hyperlink where clicking on the button image will just go to a specific URL, which is our corresponding Facebook page, and take action to become a fan.

Can someone understand the official or unofficial type of URL that could be referenced will lead you to the facebook page and take the appropriate action?

+7
facebook facebook-like
source share
2 answers

here is my code

replace http://eyeclarity.com.au with your site and if you donโ€™t like my button, replace http://www.4wdaction.com.au/_phpBB/download/file.php?id=68849 with your

<a title="Like this on Facebook" href="http://www.facebook.com/plugins/like.php?href=http://eyeclarity.com.au&amp; layout=standard&amp; show_faces=false&amp; width=450&amp; action=like&amp; colorscheme=light&amp;"> <img title="Facebook Like Button" src="http://www.4wdaction.com.au/_phpBB/download/file.php?id=68849" alt="" height="50" width="50" /> </a> 
+5
source share

It would be a terribly insecure system if the link could make this action happen. People will "like" all the stores that they did not want. Imagine how easily companies could send an abbreviated URL to Twitter and get hundreds of illegal โ€œlikes.โ€

Itโ€™s better to let people do it explicitly, so from email you can best link people to your facebook page and hope that they click. If this is a good / useful page, most likely they will be.

One approach is for the email to be targeted so that people get to the landing page on your own site. After that, you have a similar button, and with the help of Open Graph Protocol metadata tags are related โ€œlikeโ€ to the home page or the whole site.

If you want your similar button on the landing page to be common for the whole site, use the canonical og: url meta tag, for example:

 <meta name="og:url" content="http://yoursite.com/" /> 
+3
source share

All Articles