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&href=http%3A%2F%2Fpainlessric.com&send=false&layout=box_count&width=144&show_faces=true&action=like&colorscheme=light&font&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'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'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.
精彩评论