Relative Content

Tag Archive for instagraminstagram-apiinstagram-graph-api

Instagram Basic Display API – How to optimize API post retrieval

I am building an application that displays Instagram media on a website.
Following the proper procedure, I use the Instagram Basic Display API to fetch all the media, and then store them in a database.
The problem is that my account has too many media (2500), and to retrieve all of them, I need to make 25 API calls (each call retrieves a maximum of 100 media). This causes my application to time out.
Is there a more efficient way to handle this?
I am using NodeJS

Is it possible to get Instagram media likes using GraphQL API?

I’m trying to find a way to get Instagram media likes. There is an option to call media/{media_id}/likers/ API. However, it is rate limited and thus Instagram blocks these calls after some time. I know it is possible to get followers, for example, using query hash via GraphQL API. Is there the same way for media likes?