Facebook OG tags Not Working

后端 未结 4 714
囚心锁ツ
囚心锁ツ 2020-12-31 06:05

I have a simple rails 3 app with a FB like button. Ive used FB OG tags to get the image other pertinent info posted during the like transaction.

when i test on my

相关标签:
4条回答
  • 2020-12-31 06:18

    The og:url is the url to the object.

    For eg, if your object url is http://yoursite.com/object.php, then the same should be your og:url

    0 讨论(0)
  • 2020-12-31 06:21

    You should include prefix in html tag:

    <html prefix="og: http://ogp.me/ns#">
    
    0 讨论(0)
  • 2020-12-31 06:25

    A possible problem would be that your image does not meet the minimum 200px by 200px size. Try to resize your photo to meet these requirements,which actually worked in my case.

    Hope this helps.

    0 讨论(0)
  • 2020-12-31 06:31

    Check out this link: http://developers.facebook.com/tools/debug

    Input your url or og tag here to get if there is something wrong with your markup.

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