Skip to content

Commit e95c7bd

Browse files
committed
Fixed example code in README.md
1 parent 95dc1c5 commit e95c7bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Once you have an access token (whether via the script or from the user flow), yo
4141

4242
access_token = "YOUR_ACCESS_TOKEN"
4343
api = InstagramAPI(access_token=access_token)
44-
recent_media, next = instagram_client.user_recent_media(user_id=user.instagram_userid, count=count)
44+
recent_media, next = api.user_recent_media(user_id="userid", count=10)
4545
for media in recent_media:
4646
print media.caption.text
4747

0 commit comments

Comments
 (0)