facebook is not recognizing my meta tags

前端 未结 10 1003
长发绾君心
长发绾君心 2021-01-02 02:55
    
   

        
相关标签:
10条回答
  • 2021-01-02 03:07

    For me, this was because I had a 302 Redirect to get to the actual page with the OG meta tags. My guess would be that the Facebook crawler doesn't follow redirects so you have to make sure you're returning a 200 on the first request.

    0 讨论(0)
  • 2021-01-02 03:08

    The URL you've specified at the og:url meta tag contains an invalid fb:admin. Please update it with a valid admin ID and try again.

    See Lint information at the Facebook Debugger Tool

    Object at URL "http://reviewumpire.com/movies/54-katha-screenplay-darsakatvam-ksd-appalaraju-" of type "website" is invalid because the given value "57728908711" for property "fb:admins" could not be parsed as type "fbid". Invalid Admins -> The fb:admins field contained some invalid ids, namely 57728908711

    0 讨论(0)
  • 2021-01-02 03:09

    I checked out my code and discovered that i was outputting some data before the tags. This caused the facebook parser to mess up and as soon as i removed the html from outside those tags it worked fine.

    0 讨论(0)
  • 2021-01-02 03:14

    You're missing the namespace definitions xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://opengraphprotocol.org/schema/"

    Edit: <html xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">

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