Hello, I’m getting a private with an attached image, the api returns as url of the attached image the following: https://ton.twitter.com/1.1/ton/data/dm/1021448579095941125/1021448571734962176/MXo2hGci.jpg
However, when I try to see it in the browser it tells me that the url does not exist, and we need to know why this happens, because one of our clients is complaining.
Thank you
You need to use the OAuth credentials of the user in order to retrieve the image.
In the header of request or as parameters?
OAuth credentials are always a part of the authorization headers.
Okay, thank you.