I have a website with alcohol content that I have registered as a Facebook application. When I set application restrictions using the graph API (https://graph.facebook.com/APP_ID?restrictions= {"age_distribution": "21+"} or {"type": "alcohol"}), a link to Facebook application is hidden from juvenile accounts, which is great.
The problem is that when a person over this age loves or shares a page on a website, his minor friends can see this on the aforementioned personβs profile wall. Is there a way to hide the βhowβ and βshareβ messages on the user's wall in terms of juvenile accounts? I saw this with other websites, but could not reproduce it myself.
Here are the meta tags and javascript calls that I use on the website:
<meta property="og:title" content="FB Restrictions"/> <meta property="og:type" content="website"/> <meta property="og:site_name" content="FB Restrictions Site"/> <meta property="og:description" content="Testing Facebook Age Restrictions"/> <meta property="fb:app_id" content="MyAppID"/> <script> window.fbAsyncInit = function() { FB.init({appId: 'MyAppID', status: true, cookie: true,xfbml: true}); }; (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"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script>
Thanks in advance for your help!
source share