I am developing on Instagram. Now, I want to get all photo which are sent to my direct using API but until now, I could not find any way. Please help me!
Ok, you can use this api url to get your direct media: https://instagram.com/api/v1/direct_share/inbox/
But for each request, you could only get 20 records, so if you want to get all direct media, you must to do a loop for send request many times by adding the parameter "max_id" into your request to get the continous data("max_id" is the value you got from previous request). Hope it's usefull for you.