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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:01:36+00:00 2026-05-26T15:01:36+00:00

I have a chrome extension that uses the facebook Graph API Because its a

  • 0

I have a chrome extension that uses the facebook Graph API

Because its a Chrome extension I was using the Native App flow to login. I used content-scripts to grab the token out of the redirect URL.

However, I’m unable to find a way to logout of facebook. I tried the logout method posted here: Facebook Oauth Logout , but it doesn’t seem to work ( I used my App Id as the API key and the “code” parameter returned by the redirect as the session key )

Does anyone know of a way to do this?

  • 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-05-26T15:01:37+00:00Added an answer on May 26, 2026 at 3:01 pm

    So, after tracing the SDK logout procedure I found it just deletes the users Cookies for Facebook. Specifically this chunk of code will log the user out in a chrome extension (requires cookie permission):

    var facebookDomain = "http://www.facebook.com";
    chrome.cookies.remove ( {"url": facebookDomain, "name": "act" } );
    chrome.cookies.remove ( {"url": facebookDomain, "name": "c_user" } );
    chrome.cookies.remove ( {"url": facebookDomain, "name": "checkpoint" } );
    chrome.cookies.remove ( {"url": facebookDomain, "name": "lu" } );
    chrome.cookies.remove ( {"url": facebookDomain, "name": "s" } );
    chrome.cookies.remove ( {"url": facebookDomain, "name": "sct" } );
    chrome.cookies.remove ( {"url": facebookDomain, "name": "xs" } );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple Chrome extension that uses the content script feature to modify
Suppose we have Chrome extension, that uses background page, popup page, maybe some other
I am developing a Firefox extension that uses XSL transformations. I have been using
I have created a simple Google chrome extension that overrides CSS classes using the
Problem I have a custom tab control using Chrome-shaped tabs that binds to a
I have a chrome extension that very simply injects CSS before a page loads.
In my popup.html in my chrome extension I have a button that will get
I have an api which uses OAuth 1.0a to authenticate applications using it. It's
I have a background page in a Chrome extension that makes requests to a
I'm making a chrome extension that uses pageAction. I can set when it shows

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.