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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:16:08+00:00 2026-06-17T08:16:08+00:00

I am making use of github project for integrating Instagram with Android My project

  • 0

I am making use of github project for integrating Instagram with Android

My project requires me to browse user images from Instagram.
When I open the Login dialog and enter details, I able to login. It then opens the redirect url.

To test, I have a onSuccess() method and onFail()

`OAuthAuthenticationListener listener = new OAuthAuthenticationListener() { 
    @Override
    public void onSuccess() {
        tvSummary.setText("Connected as " + mApp.getUserName());
        btnConnect.setText("Disconnect");
        JSONArray jsonArray = mApp.getUserImages();}




public void onFail(String error) {
            Toast.makeText(InstagramIntegrationActivity.this, error,
                    Toast.LENGTH_SHORT).show();
        }`

Although the listener is registered,
mApp = new InstagramApp(this, ApplicationData.CLIENT_ID,
ApplicationData.CLIENT_SECRET, ApplicationData.CALLBACK_URL);
mApp.setListener(listener);
it is not getting called.
In the onSuccess I have the code to parse the JSONObject and get the images.

Is there something that could be going because of which the onSoccess() on onFail() methods are not getting called?
Any help would be appreciated.
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-06-17T08:16:09+00:00Added an answer on June 17, 2026 at 8:16 am

    I found the solution to the issue.
    The logic and the code was right. But the mistake I had done was that I had tried registering two Applications with the same Website URI and Redirect URI in Instagram Developer Website

    Correcting that solved the problem.

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

Sidebar

Related Questions

I have an AS3 project making use of compile time constants. This has worked
I'm making use of this script here: https://gist.github.com/3043878 to try to deploy a reporting
We are making an Android application and we want to use a library called
I'm making use of Q_PROPERTY s in my project, and I'm trying to figure
I am making use of the awesome ios-sim found on github . It allows
How do you use ShareKit with MonoTouch? The MonoTouch Bindings project on GitHub seems
I'm making use of the jQuery Tabs plugin along with the History plugin, to
We recently started making use of the new Google Expansion APK mechanism. Overall it
I'm making use of an API on the internet that is marshalling objects to
I am making use of a custom cursor on itemRenderers in a List component.

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.