Linter gives “Error parsing URL” error

前端 未结 10 2416
隐瞒了意图╮
隐瞒了意图╮ 2021-01-02 12:42

GOAL: I\'m trying to apply a Like button to my blog - this is my first time trying it.

BEHAVIOR: The button shows up, but when someone clicks \"Like\", the word \"

相关标签:
10条回答
  • 2021-01-02 13:29

    Just wait and try again. Worked for me, after a couple of minutes.

    0 讨论(0)
  • 2021-01-02 13:35

    Also check if you don't have e.g. a php redirect (www.site.com to site.com), that gave me lots of open graph errors, too. So I decided to remove it.

    0 讨论(0)
  • 2021-01-02 13:37

    I had the same issue but it was constant. . .turns out a corrupted jpg in the og:image tag caused the error. I re-saved the image as a png and it started working again.

    0 讨论(0)
  • 2021-01-02 13:37

    I got this error when the HTML of my page included an IMG tag that pointed to a server that Facebook's linter couldn't reach (corporate firewall).

    In other words...

    THIS WORKS

    <html>
      <head></head>
      <body>
        Hello World
      </body>
    </html>
    

    THIS DOES NOT WORK

    <html>
      <head></head>
      <body>
        Hello World
        <br><img src="http://server.facebook.cannot.reach.com/some/file.jpg">
      </body>
    </html>
    

    When I removed the IMG tag or changed it to point to a public server, the debugger tool worked.

    I contacted a couple friends who work at Facebook and asked them to lean on the folks in charge of the Debugger tool to provide more descriptive error messages.

    0 讨论(0)
提交回复
热议问题