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

  • Home
  • SEARCH
  • 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 8914139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:39:05+00:00 2026-06-15T04:39:05+00:00

I have a problem while trying to log in on Facebook for the second

  • 0

I have a problem while trying to log in on Facebook for the second time. The first time the user enter its credentials, I start to upload some pictures in the background into its Facebook account.

However, in that period, another user can come and hit the Facebook button again. I expect that the previous request is still being processed, which is the case. However, I can’t get the second user to log in WHILE THE FIRST PROCESSING (that is, the upload of the pictures of the first user) HAS NOT FINISHED YET.

What happens with the current version is that, when the second user hits my Facebook button, the Facebook API just assume that it refers to the previous user (because it is still running in the background). However, I want to start ANOTHER section with this new user, while the old one is still running in the background. How can I achieve that?

Here is my simple code (when the user hits my Facebook button on the screen, I call the following method):

 private void uploadPictures(View target) {

    mFacebook = new Facebook(getString(R.string.facebookappid));
    mAsyncRunner = new AsyncFacebookRunner(mFacebook);
    mFacebook.authorize(this, Settings.FACEBOOK_PERMISSIONS, Facebook.FORCE_DIALOG_AUTH, new LoginDialogListener());
}

PS: I have also tried to instantiate more than one Facebook and AsyncFacebookRunner objects, but it did not work (I get the same behaviour, that is, even though the objects are different, the login screen simply does not show up the second time (if the previous request is still being processed))!!!

Thank you so much in advance!

  • 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-15T04:39:06+00:00Added an answer on June 15, 2026 at 4:39 am

    You’re able to do something similar to this with the new 3.0 beta SDK. You can get it here and check out the SwitchUserSample.

    You won’t be able to use single sign-on (SSO) with the different users (they’ll need to sign in via a webview dialog), but you’ll get a different Session object that use can use for different users.

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

Sidebar

Related Questions

I have this problem I've been trying to tackle for a while. I have
I have been trying to solve this problem for a while, but couldn't with
I have been working on this problem for a while now. I am trying
Below I have been trying to work with the Facebook SDK while i came
I have problem while loading data into html select when users press or click
I have problem while using jquery maskedinput with asp.net textbox. I have a check
I have a problem while converting a string whose value is dd.mm.yyyy to DateTime
I have a problem while pasting my contents (or text) generated by Java code
I have a problem while executing a SSIS script component. To be honest I
I have a problem while scrolling images on tableview. I am getting a Signal

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.