Base64 Transfer Encoding - upload_with_media


#1

Hello, I am using the following post to create media uploads from a phone. However I constantly receive error code 189 “error creating status”. This seems undocumented and I am not sure where to make changes from this feedback. When pointing this at other multipart form-data parsers everything checks out and the image can be parsed and saved.

Does the upload with media support base64 transfer encoding as noted below?

Content-Length: 4734
Content-Type: multipart/form-data; boundary=ThIsIsMyBoUnDaRy
Authorization: OAuth data

--ThIsIsMyBoUnDaRy
Content-Disposition: form-data; name="status"

this is my media picture
--ThIsIsMyBoUnDaRy
Content-Disposition: form-data; name="media[]"; filename="resize.jpg"
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64


...Base64 Encoded Image...
--ThIsIsMyBoUnDaRy--

#2

same problem here…


#3

i am also geting the server response bad authentication data when uploading image.Can Someone help me?


#4

@test9436 maybe this’ll help you: https://dev.twitter.com/discussions/1059