Skip to content

Instantly share code, notes, and snippets.

@atbaker
Last active November 16, 2015 19:53
Show Gist options
  • Save atbaker/667798fd9afa7e598d9d to your computer and use it in GitHub Desktop.
Save atbaker/667798fd9afa7e598d9d to your computer and use it in GitHub Desktop.
Step 1 of insta.py
from instagram.client import InstagramAPI
api = InstagramAPI(
client_id='XXXXXXXXXXXXXXXXXXXXXXXXX',
client_secret='YYYYYYYYYYYYYYYYYYYYYYYYYY')
popular_media = api.media_popular(count=10)
for media in popular_media:
print media.images['standard_resolution'].url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment