Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Does anyone have VB.net code for using https://upload.twitter.com/1.1/media/upload.json to attach an image to a Tweet?

Have tried using twurl to diagnose what is going on.

When I try:
C:\Temp>twurl -H upload.twitter.com -X POST "/1.1/media/upload.json" --file "\file.jpg" --file-field "media"

I get back: Any idea whats causing this. The image file is small (165kb)
{"request":"\/1.1\/media\/upload.json","error":"[JPEG] Ran out of bytes to parse (null)."}
Posted
Updated 12-Apr-15 2:08am
v5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900