Image dimension for Twitter Posts


When trying to post an image on Twitter via its API console, it gives an error message saying --‘Image dimensions must be >= 4x4 and <= 2048x2048’

The image is not under these dimensions. (7160 X 3600)
But when trying to upload the same image on Twitter natively
it gets posted successfully.

Looking forward for your help.


I find 600X600 to be ideal with a caveat. Depending on how it’s used later, (rt, mentions) the image may get cropped to the middle third. Keep important stuff there.


Can you be more specific - are you using the media upload endpoint?



We are using API call in the format : “/1.1/statuses/update.json” -d “media_ids=588185299844370432&status=Sample Tweet with media_ids and twurl”