1. Are you ready for the Galaxy S20? Here is everything we know so far!

InstagramApi - Retrofit

Discussion in 'Android Development' started by umtblbl, Sep 23, 2019.

  1. umtblbl

    umtblbl Newbie
    Thread Starter

    Hi friends, I want to develop an application using the following api. When I test api on chrome, json data is returned if any instagram account is logged in. I know how to use retrofit. But there is no access_token section in the url. How do I get the user to login when using these URLs with retrofit? Please help me.

    // Returns user information if logged in
    https://i.instagram.com/api/v1/users/26352342/info/
    // Returns users followed by the user if logged in
    https://www.instagram.com/graphql/query/?query_id=17874545323001329&id=26352342&first=20
     

    Advertisement

  2. wseng92

    wseng92 Android Enthusiast

    Where you get this api?
     
  3. umtblbl

    umtblbl Newbie
    Thread Starter

    Github projects
     
  4. wseng92

    wseng92 Android Enthusiast

    What is pk? Seem like a unique key for me.
     
  5. umtblbl

    umtblbl Newbie
    Thread Starter

    I do not understand
     
Loading...

Share This Page

Loading...