无法抓取Facebook网址 [英] Facebook URLs cannot be crawled

查看:346
本文介绍了无法抓取Facebook网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想通过news.reads操作来做最简单的发布。



我得到下一个错误:

 致命错误:未捕获OAuthException:(#3502)对象在URL http://fb.raal.co.il/有og:网站的类型。属性'article'需要一个og:type'article'的对象。抛在/home1/raalcoil/public_html/fb/src/base_facebook.php行1106 

通过一点点,我在Debugger上碰到了这些错误:

 必须修复的严重错误

Facebook网址:无法抓取Facebook网址。
必须修复的错误

缺少必需属性:'og:url'属性是必需的,但不存在。
打开图形应该被修复的警告

推断属性:即使可以从其他标签推断值,应该显式提供'og:url'属性。
推断属性:应该显式提供'og:title'属性,即使可以从其他标签推断值。

链接到调试器:
http://developers.facebook.com/tools/debug/og /object?q=http%3A%2F%2Ffb.raal.co.il%2F



网站本身: http://fb.raal.co.il/



为什么不Facebook抓到我的网站?

解决方案


为什么Facebook不能爬到我的网站?

因为您自动将重定向向facebook.com - 更准确地说是Auth对话框。



您可以在调试器输出中找到重定向路径



如果你想要用户将被自动重定向到认证对话框(我从用户角度来看不太喜欢,因为我希望看到页面/应用程序首先要提供什么,然后才能授权它) - 然后为用户进行操作,即将Facebook刮板从用户代理或/和IP地址排除。


I have an application with an iframe to one of my websites.

I want to do the simplest posting via news.reads actions.

I get the next error:

Fatal error: Uncaught OAuthException: (#3502) Object at URL http://fb.raal.co.il/ has og:type of 'website'. The property 'article' requires an object of og:type 'article'. thrown in /home1/raalcoil/public_html/fb/src/base_facebook.php on line 1106

after looking through a bit, I came accross these errors on the Debugger:

Critical Errors That Must Be Fixed

Facebook URL:   Facebook URLs cannot be crawled.
Errors That Must Be Fixed

Missing Required Property:  The 'og:url' property is required, but not present.
Open Graph Warnings That Should Be Fixed

Inferred Property:  The 'og:url' property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property:  The 'og:title' property should be explicitly provided, even if a value can be inferred from other tags.

Link to the debugger: http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Ffb.raal.co.il%2F

the website itself: http://fb.raal.co.il/

Why cant facebook crawl into my website?

解决方案

Why cant facebook crawl into my website?

Because you page automatically redirects to facebook.com – to be more precise, to the Auth dialog.

You can see that in the debugger output, under Redirect Path.

If you want your users to be automatically redirected to the Auth dialog (which I don’t like from a user perspective, because I’d like to see what a page/app has to offer first, before authorising it) – then do it for users only, i.e. exclude the Facebook scraper from that (by user agent or/and IP adresses).

这篇关于无法抓取Facebook网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆