Miuranga
Miuranga

Reputation: 2463

How to add a Facebook like button to email

How do I add a Like button is on the actual email that I send, and clicking it leads to a landing page on my website?

That means I want to add a Like button with HTML email newsletter that I send. And if anyone like it after that, I want to redirect them to my site.

Upvotes: 1

Views: 19059

Answers (5)

James
James

Reputation: 11

You can do it with the following link: https://www.facebook.com/plugins/like.php?href=http://www.facebook.com/yourpagename

This will open a new tab with a like button and a list of the users friends who already like the page...

Upvotes: 1

Kimberly
Kimberly

Reputation: 51

You can create an html version of your email (if you have a website), and instead of the person seeing the content within the email, they are now on an html version of that site on your website. In your email it would be an image or similar that says [VIEW EMAIL] or something like that. That will link to the HTML version mentioned above. You can create the LIKE button on that page which can then post on their timeline. Hope that helps!

Upvotes: 5

Edizkan Adil Ata
Edizkan Adil Ata

Reputation: 299

Add https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.YOURWEBSITEADDRESS.com%2F to your href. It will open a Facebook like/share page.

Upvotes: 3

sail
sail

Reputation: 11

I tried it using Gmail. It will show you full codes and your like button URL will be a clickable link. So, it's just not possible to add a Facebook button. I tried both iframe and JavaScript versions.

Upvotes: 1

Lix
Lix

Reputation: 47966

You can not do this - "like" buttons can only be attached to URL's. If you have a URL that somehow represents that specific email message then you might be able to get away with that.

Another thing to note is that not all email clients allow (by default) HTML content in the body of the email message - especially not iFrames...

What you might want to do is simply place a link to your website inside the email message and once the user lands on your website he/she can decide whether or not they want to "like" your URL.

Upvotes: 3

Related Questions