Is it possible without going to https://developers.facebook.com/tools/lint/ and putting in the URL, to rub a webservice or somethin开发者_如何学Cg and have it return the Iframe code? I do not want to go to that site manually. Thanks for any help
Just construct the URL yourself,
<iframe
src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fgoogle.com%2F"
scrolling="no" frameborder="0" style="height: 62px; width: 100%"
allowTransparency="true"></iframe>
and put your site's URL urlencoded behind the ?href=
.
Here you go
just modify the urls array :)
http://jsfiddle.net/Tatqu/
精彩评论