0

我就把這行代碼在我看來:FB像標籤頁應用程序按鈕

<div class="fb-like" data-href="http://localhost:60193/Stories/Details/1" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div> 

,因爲它是在docs

但是,當我按下喜歡按鈕,第一這個彈出:

enter image description here

,當我點擊喜歡的結果是:

enter image description here

怎麼了?

回答

0

你不能像「本地主機」鏈接,喜歡的URL必須公開。換句話說,Facebook需要能夠訪問它。無論如何,喜歡只存在於計算機上的東西沒有任何意義...