-3

I am new to Instagram Api. I need to know is there any endpoint or other way to get all the posts of a certain year Or most popular posts of a year? If there is then how can i do so using android or flutter?

Asfaque Ahmed
  • 215
  • 4
  • 14

1 Answers1

0

You should use created_time parameter from Response of request (for example: GET/users/self/media/recent) to identify date of creation.

For more information check Instagram API: https://www.instagram.com/developer/endpoints/users/

If you need to know how to convert created_time to date: How to convert created_time filed value to date from Instagram media object

If you want to implement it in android or flutter. You must to search: "How to send get request in java/flutter".

For example, I google it for Flutter: https://flutter.io/docs/cookbook/networking/fetch-data

Good Luck!

Maxim Milyutin
  • 516
  • 1
  • 5
  • 10