开发者

Facebook like button create automatically

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/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜