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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:28:11+00:00 2026-05-25T13:28:11+00:00

i am about to complete my application but i am facing few problems with

  • 0

i am about to complete my application but i am facing few problems with facebook and twitter.

1). I have downloaded and installed facebook application in my device but now when my app redirects on facebook as per it’s flow, it open ups that installed facebook app instead of my FB official SDK login screen. Any solution to this?

2). I am using Fb Official SDK and twitter4j 2.1.7 which was working perfectly, but after upgrading my device to Android 2.1update1.. Both Fb and Twitter has stopped working with Device whereas works fine in emulator of the same update or later.

Please do help in these regard asap.

Thanks 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-05-25T13:28:11+00:00Added an answer on May 25, 2026 at 1:28 pm

    in the Facebook.java

    public void authorize(Activity activity, String[] permissions,
            int activityCode, final DialogListener listener) {
    
        boolean singleSignOnStarted = false;
    
        mAuthDialogListener = listener;
    
        // Prefer single sign-on, where available.
        if (activityCode >= 0) {
            singleSignOnStarted = startSingleSignOn(activity, mAppId,
                    permissions, activityCode);
        }
        // Otherwise fall back to traditional dialog.
        if (!singleSignOnStarted) {
            startDialogAuth(activity, permissions);
        }
    }
    

    change it to

    public void authorize(Activity activity, String[] permissions,
            int activityCode, final DialogListener listener) {
    
        boolean singleSignOnStarted = false;
    
        mAuthDialogListener = listener;
    
    
            startDialogAuth(activity, permissions);
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a complete unsafe mvc application. And now I started to think about
I ultimately have two areas with a few questions each about Entity Framework, but
How do you go about building a complete keyboard-accessible web application? Assuming that this
I've been wanting to work on this application for about a year now. I
I have read Apple Scroll View Programming Guide for iOS but still confused about
I'm trying to create an auto-complete box and have been having problems due to
I have the authentication portion of an ASP.NET 3.5 web application complete. I would
About to complete a wp7 application, which uses bing map services for locations etc.
I have a query in my MVC application which takes about 20 seconds to
So there are a few things I know about this topic but I am

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.