-
Notifications
You must be signed in to change notification settings - Fork 79
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 adding image descriptions #678
Comments
They do not allow that from their public REST API as far as I can see, https://blog.twitter.com/2016/alt-text-support-for-twitter-cards-and-the-rest-api mentions a |
@baedert I'm no dev, but it seems like twurl succesfully implemented it. Is that the way you can do it as well? (again: I'm no dev so I don't know whether this'll work or not) https://twittercommunity.com/t/alt-text-support-in-twurl/64391/5 |
Umm, I don't know if that works or not, https://dev.twitter.com/rest/reference/post/media/metadata/create looks like some unfinished placeholder site (and it even links to a chunked media upload endpoint that doesn't officially exist...?) |
The twitter.com website seems to do mostly the same thing as twurl – this was POSTed to {"media_id":"830402076324794368","alt_text":{"text":"Two Agents Smith"}} Same JSON as in comment #5 there (modulo whitespace). Also, the body of the subsequent POST request to |
It looks like the required API is now properly documented on https://developer.twitter.com/en/docs/media/upload-media/api-reference/post-media-metadata-create:
|
Twitter allows you to add descriptions (alt text) to images, to improve accessibility. It would be great if this client supported that as well.
The text was updated successfully, but these errors were encountered: