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

twitter v2 API #136

Open
2 tasks
snarfed opened this issue Feb 17, 2018 · 8 comments
Open
2 tasks

twitter v2 API #136

snarfed opened this issue Feb 17, 2018 · 8 comments

Comments

@snarfed
Copy link
Owner

snarfed commented Feb 17, 2018

we currently use twitter's existing (legacy? :P) search API that "searches against a sampling of recent Tweets published in the past 7 days." this confused @aaronpk when he searched for streampdx, and got no results since they're all over 7d old.

twitter just launched their new premium search API, which includes full history! both paid and free tiers.

...except you have to ask permission, tell them what you're building, and get approved. :( i can't tell if that's just because it's in beta right now, or permanent.

Good news is, I went through that approval process recently with a test account, and it went fine. Plus, the intro tier ("Essential") doesn't require approval at all any more, and they've dropped many of the approval requirements, including the limits on replicating Twitter's UX. Huge!


Missing features

These are blocking migrating Bridgy at least, if not granary:

@snarfed
Copy link
Owner Author

snarfed commented Feb 17, 2018

in the meantime, i should add a louder warning to the granary docs and UI that twitter search is just the last week, and not comprehensive.

@snarfed
Copy link
Owner Author

snarfed commented Aug 15, 2018

for granary.io at least, this is pretty unlikely. the premium API costs $0.25-$1/request/month, depending on volume and endpoint (30d vs full history), and the free tier is limited to 50-250 requests/month. so, not really an option.

@snarfed snarfed changed the title switch to new twitter search API? twitter v2 API May 5, 2022
@snarfed
Copy link
Owner Author

snarfed commented May 5, 2022

New announcement and launch of the v2 API today. Promising:

Notably, the intro tier ("Essential") doesn't require approval at all any more, and they've dropped many of the approval requirements, including the limits on replicating Twitter's UX. Huge!

The rate limits are still too small for Bridgy, though. The Essential tier is 1.7qpm, Elevated is 3.3qpm, Bridgy averages 30-60qpm.

@snarfed
Copy link
Owner Author

snarfed commented May 5, 2022

The exciting parts, though: v2 finally supports fetching likes, replies, and polls!

@snarfed
Copy link
Owner Author

snarfed commented May 20, 2022

Started on this!

snarfed added a commit that referenced this issue May 21, 2022
#136, https://developer.twitter.com/en/docs/twitter-api

this migrates tweet_to_object(), tweet_to_activity(), and some initial tests. lots more to do.
snarfed added a commit that referenced this issue Jun 19, 2022
#136, https://developer.twitter.com/en/docs/twitter-api

this migrates tweet_to_object(), tweet_to_activity(), and some initial tests. lots more to do.
snarfed added a commit that referenced this issue Jun 27, 2022
#136, https://developer.twitter.com/en/docs/twitter-api

this migrates tweet_to_object(), tweet_to_activity(), and some initial tests. lots more to do.
snarfed added a commit that referenced this issue Oct 8, 2022
#136, https://developer.twitter.com/en/docs/twitter-api

this migrates tweet_to_object(), tweet_to_activity(), and some initial tests. lots more to do.
@snarfed
Copy link
Owner Author

snarfed commented Jan 12, 2023

Deprioritized due to all the Twitter acquisition chaos.

@snarfed
Copy link
Owner Author

snarfed commented Feb 12, 2023

^ this is now entirely dependent on snarfed/bridgy#1410. Not looking good.

@snarfed
Copy link
Owner Author

snarfed commented Apr 6, 2023

Twitter is now developer-hostile, so I don't plan to work on this myself. I'll happily review and merge PR(s) though!

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

No branches or pull requests

1 participant