Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- InstaAuthAPI.getDefaultSession(this,new InstagramSessionHandler() {
- @Override
- public void onProfileDataReceived(Profile profile) {
- Picasso.get().load(profile.getPrfilePicture()).into(profileImage);
- txtBio.setText(profile.getBio());
- txtFullname.setText(profile.getFullName());
- txtUsername.setText(profile.getUsername());
- txtWeb.setText(profile.getWebsite());
- }
- @Override
- public void onErrorOccurred(String error) {
- Toast.makeText(getApplicationContext(),error,Toast.LENGTH_LONG).show();
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement