Reputation: 13
The facebook 'like' button isn't working on my webpage when i upload it to the web. It works perfectly on my computer though. Any guesses as to why this is happening ?
http://savetheearth.99k.org/pledge.htm is the URL
Upvotes: 1
Views: 3385
Reputation: 3210
Two reasons we have found for this:
Simple Redirect: If your site page has a redirect on it you will get an error.
www prefix redirect: Facebook always tries to access your domain without the www prefix. If you have an auto redirect to send users from "example.com" to "www.example.com" - even if you pass the url to facebook as "www.example.com", the crawler tries to access the url without the www which results in an error.
Upvotes: 0
Reputation: 18430
i think the problem is in the url you have provided. As i check in your page source the i frame has following code :
<iframe src="http://www.facebook.com/plugins/like.php?href=earthsave.tk&layout=standard&show_faces=false&width=450&action=like&font=verdana&colorscheme=light&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>
Where it should have been:
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fsavetheearth.99k.org%2Fpledge.htm&layout=standard&show_faces=false&width=450&action=like&font=verdana&colorscheme=light&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>
the problem was in your url:
src="http://www.facebook.com/plugins/like.php?href=earthsave.tk
Upvotes: 1
Reputation: 15506
The like button shows up for me just fine - I'm not even logged into facebook.
Upvotes: 0