Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8717771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:22:24+00:00 2026-06-13T06:22:24+00:00

Im stuck with alcohol restriction on Facebook app. In developers zone I’ve set Content

  • 0

Im stuck with alcohol restriction on Facebook app. In developers zone I’ve set Content Restrictions to “Contains alcohol” and then in my app:

<?php 

$appTokenUrl = 'https://graph.facebook.com/oauth/access_token?'
. 'client_id=' . $appId
. '&client_secret=' . $appSecret
. '&grant_type=client_credentials';

$appAccessToken = file_get_contents($appTokenUrl);  

$setUrl = 'https://graph.facebook.com/'
. $appId . '?restrictions={"type":"alcohol"}'
. "&method=post&" . $appAccessToken;

$setResult = file_get_contents($setUrl);

echo '<pre>';
echo 'Set result: ' . $setResult . '<br />';
echo '</pre>';

?>

Echo returns true. But if I use recommend plugin in this app, I still can recommend this app to underage Facebook users. Also underaged users can see the comments that come out of this app.

Any ideas how to make all app activity invisible for users who are underaged?

I would be appreciated for your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T06:22:25+00:00Added an answer on June 13, 2026 at 6:22 am

    The like+send (recommend+send) buttons will be suppressed when the underage user visits an alcohol restricted app, so they will not be able to use the ‘like’, ‘recommend’, or ‘send’ buttons.

    The comments plugin is visible as you said. As a workaround, maybe you could display the comments plugin only for users who have auth’d your app. That would prevent underage users from seeing the comments plugin because they cannot auth your alcohol-restricted app.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im stuck, Im setting a variable when someone clicks, then testing with if to
stuck on this. Lets start with code. Settings.php class settings{ public $db_host; public $db_username;
Stuck using a table layout like this below with a lot of content in
stuck on a problem to do with registering and then unregistering a block of
Im stuck on an issue on my objective C App. I'm reading a byte
Stuck on KVCs in Obj-C again. I am wanting to use KVC to find
Been stuck on this for ages. Currently learning Django and done some bits on
Kinda stuck here... I have an application with lets say 5000 rows of data
I stuck with problem of mail application , i am developing a website for
Im stuck with this little project in C# but basically my problem is this:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.