问题
I tried to create a post (using a blogger URL) in the Facebook Power Editor. Result:
Error creating posts. Please retry later. You can also go to your Page and post from there. (OAuthException) (#1500) The url you supplied is invalid
Then tried to install Facebook's Open Graph tags into Blogger to see of that would fix the problem.
To test the OG tags I used Open Graph Object Debugger. Here are the results:
Critical Errors That Must Be Fixed, Error Linting URL, An internal error occurred while linting the URL.
How do I fix the invalid URL and the Critical: Error Linting URL?
I am not tech savy so this issue is way over my head but I would like to get it fixed. Please help. Thanks
回答1:
I had a problem like this with the og:image pointing to an image hosted on Rackspace. The URL was something crazy like http://1234567890abcdef1234-1234567890abcdef123456780123412b.r23.cf5.rackcdn.com
I think the Facebook linter was seeing this as spam, because if I actually embedded the image in my app/assets it worked fine, so it wasn't the image that was the problem.
The solution was to set up a CNAME on my hosting provider that pointed to the hideously long Rackspace URL, e.g.
CNAME Value
images http://1234567890abcdef1234-1234567890abcdef123456780123412b.r23.cf5.rackcdn.com
Then I changed the og:image meta tag to be meta property="og:image" content="http://images.mydomain.com/relative_rackspace_imagepath.jpg"
回答2:
I wanted to contribute a little data point here as this is currently the top google result for this error and there is little useful info out there.
In my case, the page was a post on a wordpress blog that happened to begin with a twitter post embed, and the twitter post happened to contain an url. My og tag plugin grabbed the embed and managed to place the url along with a little other cruft in og:description, and once I cleaned that up manually the error disappeared.
I think the lesson is that when this happens take a look at your og tags for the page for ANYTHING unusual. That's the place to start.
回答3:
Happened to me once my og:image pointed to this url: http://xxxxxxx.appspot.com.storage.googleapis.com/IsraelFlag.jpg
I just changed it to: http://storage.googleapis.com/xxxxxxx.appspot.com/IsraelFlag.jpg and it works
probably very poor software parses the html
回答4:
I spent hours trying to debug why this was happening for our site. It turns out it was because of the og:locale:alternate meta tags we had.
<meta property="og:locale:alternate" content="cs_CZ" />
<meta property="og:locale:alternate" content="de_DE" />
...
When Facebook sees this in your tags they subsequently hit your og:url with '?fb_locale=[lang]' where [lang] is each of your alternates. There is one request per alternate. In our case, we had code that was returning back a 302 on that request. As a result, the Facebook Open Graph Object Debugger kept saying "Error parsing input URL"
Once I fixed the responses to the alternate requests to actually return internationalized content, the issue was fixed.
来源:https://stackoverflow.com/questions/20169025/critical-error-linting-url-an-internal-error-occurred-while-linting-the-url