当我通过fb分享时,og标签内容没有提升.使用sharethis

kir*_*ddy 3 meta facebook sharethis

我在localhost中尝试这个.这是我如何声明og标签.我正在使用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">
Run Code Online (Sandbox Code Playgroud)

当我分享使用fb时显示以下弹出窗口

在此输入图像描述

甚至没有显示完整的网址,你可以在上面的截图中看到这一点.我错过了什么吗?

Soj*_*ose 5

facebook graph api从服务器端获取信息.它不选择信息的原因是因为无法从其服务器访问本地主机.只有在将您的网站放在公开可访问的网址后,您才能测试打开的图形标记.

你可以使用facebook的url调试器在这里测试打开的图形数据.