Originally created by: takke
Refreshed version of PR [#237] using post method from PR [#260]
see https://blog.twitter.com/2016/alt-text-support-for-twitter-cards-and-the-rest-api
we can set the alt text of the attached image as below:
final UploadedMedia m = twitter.uploadMedia(file);
twitter.createMediaMetadata(m.getMediaId(), "alt metadata text");
final StatusUpdate update = new StatusUpdate(statusText);
final long[] mediaIds = new long[1];
mediaIds[0] = m.getMediaId();
update.setMediaIds(mediaIds);
twitter.updateStatus(update);
and also added uploadMultipleImages.cmd and uploadMultipleImages.sh, it missed when I added UploadMultipleImages.java
Originally posted by: AndreaFalcon
Any hope to have this merged any time soon?
Originally posted by: SamiSousa
@yusuke ^^^