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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:00:52+00:00 2026-06-01T07:00:52+00:00

i have created a forum using php/mysql and users login through facebook using php

  • 0

i have created a forum using php/mysql and users login through facebook using php sdk. the login works perfectly. the logout however does not. I have not tried the javascript sdk and it is supposted to work . but i need a solution in PHP.

Here are the two things that i have tried.

//this is signout .php

$logoutURL=$facebook->getLogoutURL(array(‘next’=’http://localhost/php_lessons/forum_facebook/logout_page.php’));

header(‘Location:’.$logoutURL);

//this is signout.php

$ACCESS_TOKEN=$facebook->getAccessToken();
$REDIRECT=’http://localhost/php_lessons/forum_facebook/logout_page.php’;

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

both the solutions take me to facebook/home.php of the user that is trying to logout. (me for test purposes).

  • 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-01T07:00:54+00:00Added an answer on June 1, 2026 at 7:00 am

    The logout problem is because of a recent Facebook API change – ‘offline_access Permission Removal’.

    Disable the ‘Deprecate offline access’ setting from Edit App > Advanced > Migrations tab

    You can read more about it at: http://developers.facebook.com/roadmap/offline-access-removal/

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

Sidebar

Related Questions

I have just started PHP and MySQL and have created a login form and
I have created a html form and it stores the data using php/mysql. Now
I have a backup created of my mysql database (vbulletin forum v3.8) everyday. It's
I have created a form in Adobe Dreamweaver CS4 and I am using PHP
I have the following MySQL query, which I'm using with PHP (5.2). DELETE t1.*,
I am new to symfony. I have created a registration form using the code:
I have created a simple web app/form using google app engine. the site is
I created a form using Swing in Java. In the form I have used
I am using ASP.NET2.0. I have created a download form with some input fields
Im using c# .net windows application form. I have created many databases with many

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.