Previously working code to upload an image (to get a media id to attach to a tweet) stopped working recently and is returning error 500.
I’m not sure what is wrong, any help would be appreciated
I’m using Oauth.io to handle authentication.
code snippet:
var formData = new FormData();
formData.append("media", imageBlob);
result.post('https://upload.twitter.com/1.1/media/upload.json', {
data: formData,
processData: false,
contentType: false
})