开发者

Facebook Like Button in Iframe Not Showing Up In Chrome

I开发者_如何学运维t works in Firefox but not in Chrome. The code I have is:

<iframe src="http://www.facebook.com/plugins/like.php?app_id=190148824367454&amp;href=http%3A%2F%2Fpainlessric.com&amp;send=false&amp;layout=box_count&amp;width=144&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font&amp;height=90" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:144px; height:90px;" allowTransparency="true"></iframe>

I'm pulling my hair out. I added this too:

<html xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://opengraphprotocol.org/schema/">

<head>
<meta property="og:title" content="Painless Ric&#039;s Tattoo Studio" />
<meta property="og:type" content="company" />
<meta property="og:url" content="http://painlessric.com" />
<meta property="og:image" content="http://painlessric.com/painlesslogo.gif" />
<meta property="og:site_name" content="Painless Ric&#039;s Tattoo Studio" />
<meta property="fb:app_id" content="170378829657868" />
</head>

But still nothing. Here's the URL of the site: http://painlessric.com/

But (i did not build the site, just adding this button) because it's using frames: http://painlessric.com/main.php?facebook

I added ?facebook for testing. I have some PHP code that checks if facebook is set and if so shows it.

If you know of any JavaScript or anything too that'll force it to work let me know.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜