Facebook Crawler not picking up my meta tag / Open Graph Object Debugger

怎甘沉沦 提交于 2019-12-25 06:22:20

问题


Facebook crawler not able to read my metatags on

http://nitansh.fwd.wf/article/travel/best-all-inclusive-resorts-for-romance/3189783/

but it successfully read the tags for the

http://nitansh.fwd.wf/nurture/

Both are on made using extending same template base.html and by injecting metatags.html into them. you can refer the HTML code by inspecting element.


回答1:


While http://nitansh.fwd.wf/nurture/ shows the metadata even without having JavaScript enabled, http://nitansh.fwd.wf/article/travel/best-all-inclusive-resorts-for-romance/3189783/ shows only the following head when JavaScript is disabled:

<head>
    <script src="//cdn.optimizely.com/js/687271175.js"></script>
    <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
    <meta charset="UTF-8">
</head>

When you make the metadata available without requiring JavaScript, Facebook’s service will probably be able to parse it.



来源:https://stackoverflow.com/questions/23387074/facebook-crawler-not-picking-up-my-meta-tag-open-graph-object-debugger

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!