Facebook不会共享一个链接到我的网站 [英] Facebook won't share a link to my site

查看:173
本文介绍了Facebook不会共享一个链接到我的网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想分享在Facebook上的链接到我的网站。该页面显示在浏览器中正确的,但是当我通过API或前端分享它,它不会显示出来。当我把我的网址进入图形API调试它给了我一个错误错误解析网址:错误解析输入URL,没有数据被刮掉。

I am trying to share a link to my site on on Facebook. The page displays correctly in my browser, but when I share it via the API or front end it does not show up. When I put my URL into the Graph API debugger it gives me an error "Error Parsing URL: Error parsing input URL, no data was scraped."

有什么地方出错了?

推荐答案

希望这是事物的一种详尽的清单来检查时,你的网站将不会刮:

Hopefully, this is an exhaustive list of things to check when your site won't scrape:

1)是您的垃圾邮件黑名单的网站?
这是罕见的,但Facebook和大多数其他工具将无法解析您的网站在所有如果它出现在垃圾邮件发送者黑名单。

1) Is your site on a spam blacklist? This is rare, but Facebook and most other tools won't parse your site at all if it shows up on a spammer blacklist.

我使用 https://admin.uribl.com/ 作为检查。如果您的网站被列出,你需要找到并清除网站上的恶意软件,然后按照从黑名单所有者(S)说明删除您的网站。如果问题是,你有一台主机谁是已知的垃圾邮件发送者,你需要改变主机。这将需要几天这个通过系统工作的方式之前,任何网站将再次刮你的网站。

I use https://admin.uribl.com/ as a checker. If your site is listed, you need to find and clean the malware on your site, then follow the instructions from the blacklist owner(s) to remove your site. If the problem is that you've got a host who is a known spammer, you'll need to change hosts. It's going to take a few days for this to work its way through the system before any site will scrape your site again.

2)是您(X)HTML有效?
Facebook的解析器是非常严格的。如果您的Web服务器或HTML格式发送标题是无效的,Facebook不会解析您的网站。为了详细测试,使用标记验证从W3C 。你必须要解决的所有错误之前,Facebook将解析你的页面。

2) Is your (X)HTML valid? Facebook's parser is very strict. If the headers sent by your web server or your HTML isn't valid, Facebook will not parse your site. To test this in detail, use the Markup Validator from the W3C. You have to resolve all of the errors before Facebook will parse your page.

一些我所见过的最常见的错误是:

Some of the most common errors I have seen are:


  • 在头发送无效的字符串

  • 之间不匹配的字符编码在头和&LT发送,文件中标签;元字符集&GT

  • 无效或不正确<!DOCTYPE>

  • 空白的'标记之前

  • 格式不正确的HTML标签,特别是在< HEAD>

  • 标签封闭> 而不是 /> 在XHTML文档

  • Invalid string sent in the headers
  • Mismatch between the character-encoding sent in the header and the <meta charset> tag in the document.
  • Invalid or incorrect <!DOCTYPE>
  • Whitespace before the ` tag
  • Malformed HTML tags, especially in the <head>
  • Tags closed with > instead of /> in XHTML documents

3)你是用JavaScript重定向访问者?
Facebook的解析器不执行JavaScript。如果你想重定向访问者自定义内容,则需要与服务器端脚本来做到这一点。

3) Are you redirecting your visitors with JavaScript? The Facebook parser does not execute JavaScript. If you want to redirect a visitor to custom content, you need to do this with a server-side script.

4)是您的服务器拒绝非浏览器连接?
这是很难诊断,但有些服务器都设置为返回 500:服务器错误 403:禁止任何非浏览器的访客。

4) Is your server refusing connections to non-browsers? This is harder to diagnose, but some servers are set to return a 500:Server Error or 403:Forbidden for any non-browser visitor.

5)是否Facebook网站告诉你,你的链接被封锁?
登录到Facebook和试图分享你的时间表的链接。如果您的网站会出现在Facebook的内部黑名单,你会得到一个消息,告诉您该网站被封锁。在这个对话框中,有一个表单,您可以将此标记为误报,并要求您的网站进行审核。

5) Does the Facebook site tell you your link is blocked? Log into Facebook and attempt to share a link on your timeline. If your site appears in the Facebook internal blacklist, you will get a message telling you the site is blocked. On this dialog, there is a form where you can mark this as a false positive and request a review of your site.

如果您在此列表中结束了,Facebook的用户是阻止您的帖子或将其标记为垃圾邮件。这可能源于您的内容。你认为什么是SEO可能是垃圾索引或您共享是进攻还是偏光一些用户的内容,或者你只是共享相同的东西,一遍又一遍。

If you end up on this list, Facebook users are blocking your postings or marking them as spam. That probably originates in your content. What you think is SEO is probably spamdexing or the content you are sharing is offensive or polarizing to some users, or you're just sharing the same stuff over and over again.

一旦你有固定的错误,Facebook的调试再次访问。调试器的手动清除访问Facebook的该URL缓存。给事物几分钟的Facebook的更新推送到所有的服务器,然后再试。

Once you have fixed the error, visit the Facebook Debugger again. A manual visit to the debugger clears Facebook's cache for that URL. Give things a few minutes for Facebook to push the updates to all servers, and then try again.

这篇关于Facebook不会共享一个链接到我的网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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