Skip to content

Commit 0312f8f

Browse files
author
Jon Heaton
committed
fixed nit in readme
1 parent 7fe07db commit 0312f8f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ Once you have an access token (whether via the script or from the user flow), yo
5454
from instagram.client import InstagramAPI
5555

5656
access_token = "YOUR_ACCESS_TOKEN"
57-
api = InstagramAPI(access_token=access_token)
57+
client_secret = "YOUR_CLIENT_SECRET"
58+
api = InstagramAPI(access_token=access_token, client_secret=client_secret)
5859
recent_media, next_ = api.user_recent_media(user_id="userid", count=10)
5960
for media in recent_media:
6061
print media.caption.text

0 commit comments

Comments
 (0)