1 parent 95dc1c5 commit e95c7bdCopy full SHA for e95c7bd
1 file changed
README.md
@@ -41,7 +41,7 @@ Once you have an access token (whether via the script or from the user flow), yo
41
42
access_token = "YOUR_ACCESS_TOKEN"
43
api = InstagramAPI(access_token=access_token)
44
- recent_media, next = instagram_client.user_recent_media(user_id=user.instagram_userid, count=count)
+ recent_media, next = api.user_recent_media(user_id="userid", count=10)
45
for media in recent_media:
46
print media.caption.text
47
0 commit comments