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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:41:44+00:00 2026-06-13T04:41:44+00:00

I am developing an AIR application that is supposed to run on desktop and

  • 0

I am developing an AIR application that is supposed to run on desktop and mobile platforms.
For most Facebook functionality, I use the official GraphAPI for Flash, version 1.8.1.

To use the app, the user must login to Facebook, this works easily by first calling FacebookMobile.init(), and if it reports that the user is not logged in, logging in like this:

var webView :StageWebView = new StageWebView();
webView.stage = stage;
webView.viewPort = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight);
FacebookMobile.login(handleLoginResult, stage, new Array(), webView);

All of this works very well, but logging out does not work as expected. Calling

FacebookMobile.logout(handleLogout);

does log out the user from Facebook, it seems, and handleLogout is always passed a true as first parameter. After this logout, when FacebookMobile.init() is called, it also correctly reports the user as not logged in. So I call the login() method from above again.

Then, the WebView opens, but closes itself immediatly, automatically logging in the user that just logged out, without showing any kind of Facebook login screen. But I want to be able to log in another user, by having to type in email and passwort.

Probably I should mention that the logging out happens when the application starts. The user can’t log out himself, the application does so when starting, so that the user should be forced to login each time. Yes, this has a reason 😉

I’m sure this is some kind of caching problem, but how can I solve it with Flash/AIR?

  • 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-13T04:41:46+00:00Added an answer on June 13, 2026 at 4:41 am

    Bit late but better than nothing right? I have seen this issue before when I was experimenting with the OAUTH api…

    Found the potential solution while looking for a separate issue but with regards to caching/cookies…

    This post explains what you need to do:
    http://cookbooks.adobe.com/post_Cannot_logout_from_Facebook_on_Android_devices-19254.html

    Basically its not a very pretty solution, but what it does is you manually delete the folders where the caching is happening.

    Hope this helps.

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

Sidebar

Related Questions

I'm developing a Flex Air (desktop) application that loads images from the local filesystem
I'm developing a Adobe Air application that should make use of a SWF file
I am developing an Air application that interacts with my server. There are plenty
I am developing an AIR mobile application. I want to implement bar code scanner
I'm developing a desktop application with AIR. I wanted to have a contact window
I am developing an AIR application. This application needs some hardware accesses that are
i am developing adobe flex application using flashbuilder4.5 tool total app run configures desktop
I am developing an Air application. Can I use multiple SQLite databases with my
I'm developing an application using Flas Builder / Flex for Adobe Air. This application
I'm developing a multi monitor fullscreen application with Adobe Air 2.6. I can create

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.