Skip to content

Commit 4230ca0

Browse files
nizam-sayeedNizam Sayeed
authored andcommitted
Added extra parameters (min_id, max_timestamp and min_timestamp) that are supported by user_recent_media endpoint.
1 parent cd9839e commit 4230ca0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

instagram/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def __init__(self, *args, **kwargs):
106106

107107
user_recent_media = bind_method(
108108
path="/users/{user_id}/media/recent",
109-
accepts_parameters=MEDIA_ACCEPT_PARAMETERS + ['user_id'],
109+
accepts_parameters=MEDIA_ACCEPT_PARAMETERS + ['user_id', 'min_id', 'max_timestamp', 'min_timestamp'],
110110
root_class=Media,
111111
paginates=True)
112112

0 commit comments

Comments
 (0)