Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support creating ext alt text #291

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

takke
Copy link
Contributor

@takke takke commented Aug 17, 2018

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

@AndreaFalcon
Copy link

Any hope to have this merged any time soon?

@SamiSousa
Copy link
Contributor

Any hope to have this merged any time soon?

@yusuke ^^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants