0
我在我的Fancybox中为我的网站使用了Facebook like按钮,我使用Zenphoto。这似乎只能使Fancybox中的按钮显示出来。让FB喜欢抓取正确的URL
代码:
this.title += '<iframe src="//www.facebook.com/plugins/like.php? href=http://www.dagloos.com' + this.href + '&layout=button_count&show_faces=false&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:80px; height:20px;" allowTransparency="true"></iframe>';
当有人点击现在类似按钮,通知等空白显示的Facebook页面上,与直接的图像网址。我在我的网站的标题中添加了og标签,但在喜欢的时候并没有抓住它们。可能因为iFrame版本已过时。
我怎么能让它像在图片缩略图上显示在脸书上,如果有可能,其余的信息(网站标题,描述等)?