nitink133/Instagram-Profile-Downloader

get information user

Closed this issue · 1 comments

What part of the user can log in when the user logs in, such as profile pictures or usernames ...

Hi @Amirhf1, actually the whole project is based on Instagram official login page scrapping, So we're only able to save those details which we received in cookies callbacks those fields are

                        PreferencesManager.savePref(GlobalConstant.USERNAME,username);
                        PreferencesManager.savePref(GlobalConstant.USER_ID, InstaUtils.getUserId());
                        PreferencesManager.savePref(GlobalConstant.TOKEN, InstaUtils.getSessionid());
                        PreferencesManager.savePref(GlobalConstant.PROFILE_PIC,"");


                        ZoomstaUtil.setStringPreference(InstagramOfficalLoginActivity.this, InstaUtils.getCookies(), "cooki");
                        ZoomstaUtil.setStringPreference(InstagramOfficalLoginActivity.this, InstaUtils.getCsrf(), "csrf");
                        ZoomstaUtil.setStringPreference(InstagramOfficalLoginActivity.this, InstaUtils.getSessionid(), "sessionid");
                        ZoomstaUtil.setStringPreference(InstagramOfficalLoginActivity.this, InstaUtils.getUserId(), "userid");
                        ZoomstaUtil.setStringPreference(InstagramOfficalLoginActivity.this, "", "username");