Closed Androz2091 closed 4 years ago
Could you link your image and possibly the debug output
Here is the image: Actually it will be complicated to get debug logs, but if it's necessary I could send them to you...
It's a png
file, which isn't supported by Instagram (the API, not the app). You have to convert it to a JPEG file. You can do this in memory with e.g. png-to-jpeg
or jimp
.
That's weird because in another place in my code I send png
images... But, I converted it to a Buffer before, maybe that's why it's working?
Oh, I see. I wrote images as png
but the real extension is jpg
.
It works!! Thank you!
Hello, I'm trying to send images via this package and I'm getting the following error:
In another place in my code, I send images with another format and it works. I saw this issue: #661, but it didn't help me... How can I fix this?