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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T14:57:52+00:00 2026-06-16T14:57:52+00:00

I am successfully using a GET request to this URL https://www.facebook.com/logout.php?access_token=ACCESS_TOKEN&confirm=1&next=MY_APP_URL where MY_APP_URL is

  • 0

I am successfully using a GET request to this URL

https://www.facebook.com/logout.php?access_token=ACCESS_TOKEN&confirm=1&next=MY_APP_URL

where MY_APP_URL is of the form https://apps.facebook.com/MY_APP_NAME to force users to log out of Facebook and be redirected back to my app.

However, the UX in the browser is less than ideal. First, it looks like it redirects to MY_APP_URL, and the email / password fields appear in the upper right for about a second. Then, there’s a redirect to login.php and the full page login form appears.

Everything functions correctly with respect to the logout/login, but this 1-2 second display of a different login form is annoying.

Is there a way to streamline this so that there is only one redirect, directly to the login.php URL?

Perhaps I should use the ‘oauth/authorize’ URL as my next instead of https://apps.facebook.com/MY_APP_NAME?

  • 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-16T14:57:54+00:00Added an answer on June 16, 2026 at 2:57 pm

    The answer is to set the next parameter of logout.php (shown originally as MY_APP_URL above) to a URL on the same domain as the app.

    This URL should redirect the user to the OAuth dialog (described here: https://developers.facebook.com/docs/reference/dialogs/oauth/). The redirect_uri parameter in the call to the OAuth dialog should then be MY_APP_URL as described above.

    This way, you don’t get the 1-2 second display of the Facebook chrome before seeing the login page. Unfortunately, it inserts another request/response cycle into the logout/login process.

    (Note: It seems like Facebook should automatically redirect a user to the login page if they request a URL of the form http://apps.facebook.com/MY_APP_NAME when they aren’t logged in. Not sure why the FB chrome should show at all.)

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

Sidebar

Related Questions

I am using apache's mod_rewrite module to improve my URL structure(for one instance- www.mydomainname.com/user.php?u=somename
I'm successfully using Node.js + Express + Everyauth ( https://github.com/abelmartin/Express-And-Everyauth/blob/master/app.js ) to login to
this is the code i wrote to send the url request using a thread:
I tried to convert a Chrome extenstion to Firefox using this tool http://www.extensionfactory.com/labs/conversion/ and
I can successfully get the title, version and icon of an app using the
I am using this code: <script type=text/javascript> var id = <?php if(is_numeric($_GET['id'])) print $_GET['id'];
Now I am successfully using WebClient.DownloadString to get file content from ESX server. My
I am using NSURLConnection to connect with a server, using a GET request. To
I am successfully using zxing to scan codes, by calling the installed barcode reader's
I'm (almost) successfully using Node.js with Express and Redis to handle sessions. The problem

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.