Trying to expand our current API to include update_with_media.
We are using Perl Net::Twitter::Lite::WithAPIv1_1 and it’s been working well.
When testing update_with_media using simple PNG’s, we are getting strange results.
Most are fine, but we can replicate failures, with returned error codes of 500 from the API.
These work:
-> identify part2
part2 PNG 500x500 500x500+0+0 DirectClass 11kb
These don’t:
identify part2
part2 PNG 500x500 500x500+0+0 DirectClass 3.4kb
Apart from the image size, they appear to be valid PNG’s and we can’t see the difference.
Are there any Twitter API restrictions on media size?
Any advice is much appreciated.