Alex Cieminski
Alex Cieminski

Reputation: 21

"Like" button not working, (iframe) version

I know this is a common question but I haven't found any answers. I click the button but nothing happens. I've been using the linter and have all the og tags.

Here's my code (straight from the like button creator) and site:

    <iframe src="//www.facebook.com/plugins/like.php?href&amp;send=false&amp;layout=button_count&amp;width=450&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe>

http://alexcieminski.com/index.html

Thank you.

Upvotes: 2

Views: 5241

Answers (3)

chetan shah
chetan shah

Reputation: 1

I was facing this problem from last 4 hours & it turned out to be a browser related issue. After I've started accepting third party cookies from http://www.facebook.com/ suddenly every thing started working...

Upvotes: 0

user1304244
user1304244

Reputation: 21

You need to remove all the 'amp;' that separate the query strings. So, instead of having '&' separating each query strings you should just have '&'. You also don't have anything for url for 'href'

Upvotes: 0

DMCS
DMCS

Reputation: 31860

?href& This is the problem. You need to really put your url-encoded url here: ?href=%3A%2F%2F&

Also check out your page in the linter: http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Falexcieminski.com%2Findex.html

It says you should also specify the og:description too.

Upvotes: 1

Related Questions