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 9308039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T00:31:53+00:00 2026-06-19T00:31:53+00:00

I have made a facebook php webapp, I am using the following code to

  • 0

I have made a facebook php webapp, I am using the following code to make facebook redirect to the “got to app” permissions page

   $params = array(
   scope => 'publish_stream,user_likes',
   redirect_uri => 'https://www.facebook.com/pages/mypage/480192585363812?sk=app_23508216934343'
   );
   $loginUrl = $facebook->getLoginUrl($params);
   echo "<script>
   window.top.location = '$loginUrl';
   </script>";

This works fine and takes me to the page correctly, however when I click on “got to app”, then facebook displays a second dialog, the URL is

   https://www.facebook.com/dialog/permissions.request

How do I prevent the second page and allow the user to authorise the app in one click?

  • 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-19T00:31:54+00:00Added an answer on June 19, 2026 at 12:31 am

    Combining this into one single click/dialog (like “authorize!”) is purposefully not possible.

    Explanation:

    user_likes is a Extended Profile Property and publish_stream is a Extended Permission. They are not authorized at the same time, because extended properties are a “Non-optional permissions for access to a user’s data and that of their friends.” whereas users can opt out of an extended permission

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

Sidebar

Related Questions

I have made a sample for posting on Facebook using the basic Facebook library
I've made a simple app for the purpose of posting to a Facebook Page
i have made a facebook app, i want the user to be redirected automatically
I have made an iframe style facebook application that uses php and javascript (jquery).
https://apps.facebook.com/norway_eid_greetings/ I have made this android app and registered on facebook. I have given
I have made a facebook app, but I am unsure I have understood something
I have made a simple facebook app with ssl certificate enabled. Now the strange
I have made an application which allows a user to login using their facebook
I have made a facebook application I have uploaded all my code on my
Hello fellow developers. I have previously made a facebook fan page with an iframe

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.