Jason Paul
Jason Paul

Reputation: 131

Instagram API Likes on Media does not have pagination

I am trying to return all the users who have liked a specific post in Instagram, but it seems to be only returning 120 of the users who have liked the image.

https://instagram.com/p/73rVHrnFqS/

There is no pagination object being returned by the query. I don't see any limits mentioned in the documentation:

https://instagram.com/developer/endpoints/likes/

I was able to reproduce it using the Instagram API Console here:

Link to Instagram Query

Is it a permissions issue with users hiding their likes from the API, or does the API limit the number of likes returned.

Upvotes: 1

Views: 977

Answers (2)

Shubham Gupta
Shubham Gupta

Reputation: 81

You can you Unofficial Instagram API to get a max of 1000 likers list via calling to instagram.com/media_id/likers by attaching proper headers in post-call.

You would be able to achieve top 1000 likers of media.

Upvotes: 1

Jason Paul
Jason Paul

Reputation: 131

I can see here Get a list of users who have liked specific media on Instagram that someone answered that the limit is 120 from the API - which matches with my data.

That said, I am unable to find the documentation link for this 120 limit anywhere - Bonus points for anyone who can find that!

Upvotes: 3

Related Questions