Missing required property: og: url property required but missing

I am trying to create a simple page with the same button inside my facebook application when I test my page on the facebook debugger, I got this message:

A required property is missing: the og: url property is required but not present. A required property is missing: the og: type property is required but not present. Missing required property: og: title property is required but not present.

but I declared all the meta tags on my page, what am I missing?

this is my html page:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml"> <head> <title>The Rock (1996)</title> <meta property="og:title" content="ttt" /> <meta property="og:type" content="activity" /> <meta property="og:url" content="http://apps.facebook.com/yositestmylife/Facebook/TEST.aspx" /> <meta property="og:image" content="http://apps.facebook.com/yositestmylife/Media/Images/credit.png" /> <meta property="og:site_name" content="sss" /> <meta property="fb:admins" content="600018507" /> </head> <body> <div id="fb-root"> </div> <script> (function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=306398689381800"; fjs.parentNode.insertBefore(js, fjs); } (document, 'script', 'facebook-jssdk'));</script> TEST <div class="fb-like" data-href="http://apps.facebook.com/yositestmylife/Facebook/TEST.aspx" data-send="true" data-width="450" data-show-faces="true"> </div> </body> </html> 
+6
source share
1 answer

Are you trying to implement the achievements in your application?

If you intend to use only the functionality of the buttons, then you do not need to include any meta tags in your page.

And if you are trying to implement Facebook Achievements for your application, refer to Achievements

Thanks!

0
source

Source: https://habr.com/ru/post/904224/


All Articles