@@ -17,7 +17,7 @@ class InstagramAPI(oauth2.OAuth2API):
1717 access_token_url = "https://api.instagram.com/oauth/access_token"
1818 protocol = "https"
1919 api_name = "Instagram"
20- x_ratelimit_remaining = None
20+ x_ratelimit_remaining = None
2121 x_ratelimit = None
2222
2323 def __init__ (self , * args , ** kwargs ):
@@ -45,7 +45,6 @@ def __init__(self, *args, **kwargs):
4545 root_class = MediaShortcode ,
4646 exclude_format = True )
4747
48-
4948 media_likes = bind_method (
5049 path = "/media/{media_id}/likes" ,
5150 accepts_parameters = ['media_id' ],
@@ -101,7 +100,7 @@ def __init__(self, *args, **kwargs):
101100
102101 user_liked_media = bind_method (
103102 path = "/users/self/media/liked" ,
104- accepts_parameters = MEDIA_ACCEPT_PARAMETERS ,
103+ accepts_parameters = [ 'count' , 'max_like_id' ] ,
105104 root_class = Media ,
106105 paginates = True )
107106
@@ -159,7 +158,7 @@ def __init__(self, *args, **kwargs):
159158
160159 tag_recent_media = bind_method (
161160 path = "/tags/{tag_name}/media/recent" ,
162- accepts_parameters = ['count' , 'max_tag_id' , 'tag_name' ],
161+ accepts_parameters = ['count' , 'max_tag_id' , 'tag_name' , 'min_tag_id' ],
163162 root_class = Media ,
164163 paginates = True )
165164
0 commit comments