Twitter Developer Labs
-
alt text via API
Images in tweets should have their alt text available via API. Make it obvious. Here is where I would have expected to find it: https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/entities-object#media
35 votesThanks for the feedback! While we are aware of this ask, we will not be able to prioritize this in the near future. Please keep voting for this idea if it resonated with you.
-
Get archive data through API
Why couldn't we get our own data archive through API calls ?
Instead of having to download the whole archive (which is really heavy), it can be interesting to have several endpoints where we could request all the data between two dates for the authenticated user.2 votes -
Add a filter to return only currently promoted tweets
Currently there is no way to only return promoted tweets. With a "filter:promoted" filter option, it would be possible to only return promoted tweets combined with other search terms.
This feature would help researchers and increase ad transparency.
20 votesWe appreciate the feedback, but this is not on our roadmap for the near-term future. Hence marking as “closed”.
-
Add "Public Interest" and "Manipulated Media" and other enforcement flags to tweet expansions
It should be possible to get a value in expansions if tweets have the "Public Interest" and "Manipulated Media" flags set, along with any other enforcement - eg: withheld in country fields etc.
For example, json flags or objects should be present for filtering tweets like this https://twitter.com/realDonaldTrump/status/1266231100780744704 or https://twitter.com/realDonaldTrump/status/1273770669214490626 that have had some flags set.
1 vote -
More locations for Trends API
Some locations are not available in the Trends API, for example Uganda.
It would be great if the current list locations were expanded to include more locations, such as Uganda and cities in Uganda such as Kampala.
1 vote -
Change the limit on user_timeline for the authenticated user own timeline
The user_timeline endpoint currently has a hard limit of only fetching the most recent 3,200 tweets. I understand this limit if the authenticated user is requesting for timeline tweets from another user. But what if the limit could be changed when the authenticated user is fetching tweets from his own timeline, e.g. the most recent 10,000 tweets or all? Other platforms such as Instagram allow you to fetch all of your media from your profile.
Thanks.
2 votes -
Optionally prevent the standard search API from searching in screen names and user mentions
The standard search API is somehow regarding screen name as part of text body and therefore is also searching in screen names. That can cause the search results to contain irrelevant tweets. For example, searching the word "nature" can return @human_nature's tweets whose text bodies don't contain the word "nature".
A similar issue applies to user mentions. For example, searching the word "nature" can return tweets which contain user mention @human_nature and don't contain the word "nature".
Please consider implementing an option which prevents the standard search API from searching in screen names and user mentions. Thanks.
8 votes -
Add a field to signal when media is being withheld by country
Add a field to know when media is being withheld by country
9 votes -
Access to Image Crop Information
Is there any plan to allow access to the cropping rectangles that are associated with each media image? These are called focusrects and are nested under the originalinfo property of extended_entities.media and could be passed along with the rest of the media info in the API request.
6 votes -
GraphQL
While I understand the motivation for the separate "expansions" in the GET Tweets endpoint, I wonder if you have considered using GraphQL to allow the user to determine the shape of the tweet data returned?
In adding support for the labs endpoint to twarc [1] I found that I wanted to knit back together the data that is separated out into tweets. If GraphQL was used I don't think this would be necessary.
I would be curious to know if Twitter Labs considered switching to GraphQL for fetching tweets and users.
4 votes -
labs/1/tweets and Get labs/1/users rate limits
It appears that the user-auth rate limits in the labs API is shared among all users.
I could see however that app-auth limits are separate, so there is distinction between app-auth vs user-auth, just not working as expected7 votes
- Don't see your idea?