使用 facebook 的 url 打开图形元标记
我有一个 iframe 选项卡,其中我的开放图 url 标记为 。
我在该 iframe 中有一个评论框,显示以下错误: 警告: http://example.com/linktofolder 是无法到达。
我已经在 facebook 应用程序设置上设置了所有信息,如应用程序域、画布 url、命名空间等。当我通过 facebook 调试器放置链接时,出现以下错误:错误抓取页面:Facebook 无法自行抓取。对不起!
我已经有一个页面,其中我的 og:url 标签定向到 Facebook 页面,并且工作正常。
I have a iframe tab where my open graph url tag is <meta property="og:url" content="http://www.facebook.com/myfacebookpageusername"/>
.
I have a comment box in that iframe that displays following error: Warning: http://example.com/linktofolder is unreachable.
I have set up all the info on facebook application setup like app domain, canvas url, namespace and etc. When I put link through facebook debugger I get following error: Error Scraping Page: Facebook Can't Crawl Itself. Sorry!
I already have one page where my og:url tag is directed to facebook page, and it works fine.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该使用
href
评论社交插件(或data-href
,取决于您嵌入评论的方式)到可公开访问的真实 URL。此外,您还应该注意指定
og:url
意味着将抓取此页面而不是具有该元标记的页面。You should use
href
for Comments Social plugin (ordata-href
, depends on way you embed the comments) to real URL that is publicly accessible.Also you should be aware of the fact that specifying
og:url
means that this page will be crawled instead of the page you have that meta tag.