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版本已過時。
我怎麼能讓它像在圖片縮略圖上顯示在臉書上,如果有可能,其餘的信息(網站標題,描述等)?