[instagram] fix retrieving '/tagged' posts (#4122)

reduce number of retrieved posts per API request from 50 to 20
This commit is contained in:
Mike Fährmann
2023-06-09 16:04:39 +02:00
parent 0a9aaa7a8d
commit ad882291d3

View File

@@ -864,7 +864,7 @@ class InstagramRestAPI():
def user_tagged(self, user_id):
endpoint = "/v1/usertags/{}/feed/".format(user_id)
params = {"count": 50}
params = {"count": 20}
return self._pagination(endpoint, params)
def _call(self, endpoint, **kwargs):