i can get media from public user but,can't get media from private user and my response is:
"meta": {
"error_type":"APINotAllowedError",
"code": 400,
"error_message":"you cannot view this resource"}
how can get media from private user?
You can't access images from a user that has set their account to private.
To improve the user experience of your application, mimic the behavior that Instagram uses when you're trying to access an account that is set to private. You can catch the 400 code and display an error message to your user explaining why they can't see the media.