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
My account has a lot of media, and using the API to retrieve all the posts is really a challenge.
Ryan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.