Skip to content

Instantly share code, notes, and snippets.

@impshum
Created January 23, 2018 20:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save impshum/e90b12db29d5d7cae07bfd3a25600a1b to your computer and use it in GitHub Desktop.
Save impshum/e90b12db29d5d7cae07bfd3a25600a1b to your computer and use it in GitHub Desktop.
Get self instagram info
from InstagramAPI import InstagramAPI
instauser = ''
instapass= ''
igapi = InstagramAPI(instauser, instapass)
igapi.login()
info = igapi.getSelfUsernameInfo()
woop = igapi.LastJson
print(woop['user']['media_count'])
print(woop['user']['following_count'])
print(woop['user']['follower_count'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment