anaconda icon indicating copy to clipboard operation
anaconda copied to clipboard

Issue with Uploading Media

Open Kimau opened this issue 9 years ago • 2 comments

Hi,

I have a small proc gen bot using this api and it recently started to fail on the uploads. With no code change on my side.

I still have to do full testing but I noticed that twitter specifies you should be using multipart/form-data and should be set to application/octet-stream https://dev.twitter.com/rest/reference/post/media/upload

The OAuth lib you are using doesn't use the normal go multipart writer and sets application/x-www-form-urlencoded. I'm wondering if Twitter got a bit more strict on this.

Is this a known issue? Is anyone else getting this?

Kimau avatar Mar 01 '16 13:03 Kimau

So this is one of the files I can reproduce this with fireworksbot_707720436197560321

Doesn't happen with non-animated gifs it seems

Kimau avatar Mar 10 '16 00:03 Kimau

@Kimau: Have you ever figured out the cause of your issue?

muesli avatar Sep 02 '17 23:09 muesli