2015-01-06 23 views
3

我想在本地主機。這是我如何宣佈og標籤。我當我同意使用FB其表示接着彈出當我通過FB共享時,標籤內容不會被拾取。使用sharethis

enter image description here

即使沒有顯示完整的URL,你可以在上面的截圖中看到這一點使用sharethis.js

<meta property="fb:app_id" content="139430409442545"/> 
    <meta property="og:site_name" content="ThinkVidya.com"> 
    <meta property="og:type" content="profile"> 
    <meta property="profile:first_name" content="kira woka"> 
    <meta property="profile:last_name" content="K"> 
    <meta property="og:url" content="http://localhost:8080/bangalore/kira-wok-k/735725 "> 
    <meta property="og:title" content="kira woka K - Home Tutor in Bangalore for MBBS &amp; Medical Tuition"> 
    <meta property="og:description" content="kira woka K provides Home Tuitions in Bangalore for and MBBS &amp; Medical Tuition. kira woka K profile - My Teaching Philosophy:  
    My approach to teaching reflects the way I was taught by my own professors. The teachers..."> 

    <meta property="og:image" content="http://localhost:8080/images/photo-placeholder-190x190-Orange-M.jpg"> 

。我錯過了包括什麼?

回答

4

facebook 圖api從服務器端獲取信息。它不採摘信息的原因是因爲您的本地主機無法從其服務器訪問。只有在將您的網站放入可公開訪問的網址後,才能測試打開的圖標記。

您可以使用url debugger from facebook在此處測試打開的圖形數據。

+1

是的,我在你回答這裏之前就已經知道了。謝謝。 –

相關問題