21 ms·
A new and improved Twitter API
- DickScarington 6y agoThe final straw for me was when twitter deprecated the years-old auth keys I had used without any issues because I wouldn't register my phone number. If you look at twitter's checkered history, I don't see why anyone would put the effort into a new API without strict guarantees of future usability.
- R0b0t1 6y agoStrict guarantees of usability don't exist. Look how many technologies MS has abandoned.
- whoisjuan 6y agoDid anyone look at the prices?? Holy shit. Are they selling gold? Those prices are ridiculous.
- WaltPurvis 6y agoWhere do you find the prices?
- whoisjuan 6y agoWhen you login with the Developer account it gives you an option to upgrade and there you can see the prices. But I'll save you that: 2500 requests against their Full Archive costs 1899 USD. That's 75 cents per request. That sounds absurd to me. 2500 requests is nothing and what if you're testing? The sandbox level is 50 requests for free. Maybe I don't understand well the use cases but all the things that come to my mind for these APIs would required more than 2500 requests to do something interesting. They are pricing their data like if it was some sort of unique canonical truth vault when in reality 95% of it, it's just a bunch of shitposts.
- ihuman 6y agoAre you getting the prices from this [0] page? I think that's the pricing for the old API, because it still hast the standard/premium/enterprise split. > In the past, the Twitter API was separated into three different platforms and experiences: standard (free), premium (self-serve paid), and enterprise (custom paid). As a developer's needs expanded, it required tedious migration to each API. In the future, all developers — from academic researchers to makers to businesses — will have options to get elevated access and grow on the same API. > (https://blog.twitter.com/developer/en_us/topics/tools/2020/introducing_new_twitter_api.html https://blog.twitter.com/developer/en_us/topics/tools/2020/i...) [0] https://developer.twitter.com/en/pricing https://developer.twitter.com/en/pricing
- qrbLPHiKpiux 6y agoLol! We don’t trust you.
- pixxel 6y ago> given the security incident we discovered yesterday We discovered. Heh.
- bzb3 6y agoKnowing Twitter I imagine "improved" means more closed and with stricter rate limits.
- duiker101 6y agoFor the free tier, the user endpoint users/lookup which now is just /users seems to maintain the same rate limit, and looking at the other endpoints I haven't seen something stand out as strongly reduced. I notice that there doesn't seems to be a distinction in the new API between user context and app context as far as rate limiting is concerned, so maybe that would make a difference. But a lot of endpoints are still missing so everything is still to see!
- Fiveplus 6y agoHere's there actual roadmap: https://trello.com/b/myf7rKwV/twitter-developer-platform-roadmap https://trello.com/b/myf7rKwV/twitter-developer-platform-roa...
- sim_card_map 6y agoNo word on the most important thing: the limits. Current limits that keep becoming stricter and stricter make the API unusable.
- vdfs 6y agoLimit is your wallet
- phone8675309 6y agoNo joke. I maintain a bot that interfaces with the Twitter API to take in tweets and post tweets from specific users in chat channels. I read this blog post to determine a) what I need to do to port to the new API and b) how much this privilege of using Twitter will cost me, and it is mum on both of those aspects. Absolutely brilliant, Twitter.
- johnnyfaehell 6y agoI guess it's a case of "If you've got to ask, you can't afford it"
- pjc50 6y agoI was looking into doing something for my own use, and you can't even retrieve your own list of followers or blocked users in one go! You have to paginate it, each page is counted against the rate limit!
- tehwebguy 6y agoEverything non-streaming from Twitter has always been paginated, no? Same with all YouTube, probably FB too right?
- duiker101 6y agoSame with everything ever, some users have hundreds of thousands of followers, I'm not sure how you would do it without pagination. The limits are tight. It's true. But pagination is not the enemy. I think better scaling of the pricing tiers could help but Twitter probably doesn't care enough about small devs.
- eeJah9to 6y ago> Eventually, the new API will fully replace the v1.1 standard, premium, and enterprise APIs. Uh oh. Using nitter's [1] RSS feeds is one of my main ways to access news. I have the feeling this is about to end. [1] https://nitter.net/ https://nitter.net/
- icehawk 6y agonitter basically gets data from twitter the same way the the web client does it, using the unofficial (and undocumented) APIs
- emptyparadise 6y agoI wonder if anybody tried to document that.
- eeJah9to 6y agoGood to know, thanks for mentioning it. I guess they're quite used to breaking changes in twitter's API, then :) (presuming that a private API must change quite often)
- deleted 6y ago[deleted]
- rvz 6y ago"The number of active real users and followers on Twitter has been greatly exaggerated..." - Inactive Twitter Users. Bots and verified users have ruined the platform.
- mroche 6y agoPersonally, I don't have an issue with bots on a platform, as long as they are there to be helpful. In the case of Twitter, I would restrict bots from being able to reply to tweets^, retweet, or like. Only output original things (like automated messaging) or restrict it to DMs. And possibly restrict the use of @s and #s in those tweets so they can't affect trending. That way you can seriously cut down the signal to noise ratio and also make it much easier to spot a bot account. And please put a BOT label on every bot account and tweet they send. This should be a hard requirement. ^ However, this would interfere with bots like the threading or videothis types. So maybe not apply that restriction.
- _qulr 6y agoNothing to see here. This isn't an announcement, it's a pre-announcement. Empty PR, "We actually love developers (despite our sordid history), yadda yadda". Almost all of the details are TBD.
- davidcorbin 6y agoAll these years and they still don’t have a serious API offering.
- caiobegotti 6y agoThese folks from Twitter might suffer from a major disconnection from reality, they burned several bridges of trust over the years and now they just write a small disclaimer about them discovering the hack from this week and the new API apparently does not address issues people had with it in the past (that were used to choke 3rd-party apps). Kudos to the developers working on it directly though, I suppose it takes a lot of effort and the managers responsibilities are not yours to take home but they need to actually regain trust before anything else, no matter how fancy the API is. Some kind of "LTS" or long term contract for the API versions would be a start.
- benburleson 6y agoExactly. What's their goal with the new API? Will they continue to be hostile to Twitter app developers? Years ago, they made a distinct choice to become a business/celebrity platform, and actively moved away from the utility it could have been. That move cemented my view of Twitter as a dead-end for technology.
- numpad0 6y agoTwitter is not as profitable as they want to be, so the corporate wants user to do something monetizable, but users prefer what can’t generate revenue and don’t favor whatever that do, but Twitter is a private company so they have to do it eve if it would only result in its irrelevance, and that will lead to even less profit, then
- stefan_ 6y agoThis disclaimer is hilarious, it's like some terrible catastrophe happened far far away from them. But in fact it's been days of deafening silence out of Twitter, and they are fricking ground zero!
- thatoneuser 6y agoEveryone in here bad mouthing Twitter is just feeding into the hype machine. This is why these garbage companies exist - they've convinced us they're all worth talking about when they're junk. The more we ignore them the more likely they go away.
- crb 6y agoSpoiler: It doesn't mention the word "client" at all. This is not going to bring back the features they took away in 2018.
- wastedhours 6y agoLike to think I'm quite positive when it comes to companies putting things out there, but still can't bring myself to trust Twitter's actions when it comes to their API. I built and sold (albeit for a very tiny sum of money) one of those text-extender mini-blog tools back in the day off the back of the API. It felt easy, clean and part of the ecosystem. Every action they took degraded that trust. I know they're a business and the data (and primarily their advertising serving and monitoring tech) is their lifeblood, but... fool me once...
- picodguyo 6y agoThis is what they cite as the key benefits: "A cleaner API that's easier to use, with new developer features like the ability to specify which fields get returned, or retrieve more Tweets from a conversation within the same response Some of the most requested features that were missing from the API, including conversation threading, poll results in Tweets, pinned Tweets on profiles, spam filtering, and a more powerful stream filtering and search query language " I really doubt this is what developers have been yearning for in a revamped Twitter API. Previous APIs provided plenty of functionality, it's just that too many of us were burned by the ever-shifting policies around API use. I personally went from envisioning Twitter as the social data pipeline of the web to vowing never to touch it again within the span of one year. I can't believe this announcement wouldn't touch on policy and developer relations at all.
- bad_user 6y agoSpeak for yourself. Their current API makes third party clients very difficult because they lack features and I hoped they'll announce something like this. Don't get me wrong, I wouldn't mind them touching on the developers relations they want to build, but no company of their size will admit to wrongdoing in the past. Also words aren't worth anything unless they come in a legally binding contract that can't change on a whim.
- Macha 6y agoGiven the examples of promoted API usage, it doesn't seem to have any backing away from their stance that they don't want third party clients. Add to that their API pricing was as I understand it not feasible for any new client app used by end users which gets any serious amount of usage and needs to move to paid tiers.
- detaro 6y agoI wouldn't be surprised if you get an API that'd be better for third-party clients at the same time as all requests for API access for third-party clients are denied.
- raxxorrax 6y ago
- AznHisoka 6y agoNobody wants a new API. The new features don’t make up for all the work needed to rewrite every call. Again. Nobody wants this.
- sdevonoes 6y agoAgree. This seems like a poor attempt to marketing themselves "better".
- fluffernutter 6y agoIt is probably true nobody who currently codes against Twitter APIs wants new APIs. I've rewritten them before and won't be doing it again. Maybe someone new will come along to replace us. Twitter doesn't care unless it makes them more views. Doesn't matter anyway because they already got rid of the useful APIs, which broke everything anyone I knew had written. Handwriting has been on the wall. Sort of like boycotting Facebook, it's only takes the step of stopping to set you free.
- yoz-y 6y agoAs a user I would like for Twitterrific for example to support polls and pinned tweets. So at least one user of a third partly client wants this, I bet that there are more.
- Mindwipe 6y agoTwitter absolutely deserves the bad reputation they have here, and this does nothing to change it.
- fooyc 6y agoThey are pushing stuff on the public API that has been available for years to “managed accounts” via Gnip.com. This makes the paid APIs more widely available - it’s now possible to start using paid APIs without talking to a sales person, with lower budget (but not lower prices - some endpoints cost nearly $1 per call). They also plan to remove free endpoints 6 months to 1 year after a paid equivalent is released. Bye bye per-user quota.
- benlumen 6y agoI'd love access to the Twitter API for research purposes for my writing, but I'm priced out for that purpose. I can't prove it, but it feels like they only want big businesses researching their markets, and not people like me asking questions about Twitter itself - even though letting people do that would result in negligible additional traffic. This might be controversial and I know people will say that they're a private company and can do what they want, but Twitter has positioned itself as society's de-facto official communication channel and I think the data on it should be a matter of public record at this point. edit: Does anyone have experience with scraping tools and Twitter? Presumably it's hard to do.
- CrazyStat 6y agoI've been collecting Twitter scrapers recently with the idea that I might eventually do something with them. This one [1] seems most promising but I haven't actually tried it. [1] https://github.com/bpb27/twitter_scraping https://github.com/bpb27/twitter_scraping
- L3viathan 6y agoThis is quite new: https://github.com/lschmelzeisen/nasty/ https://github.com/lschmelzeisen/nasty/
- fireattack 6y agoDoesn't seem to support "from:{screen_id}" in search, a bummer.
- daveFNbuck 6y agoHave you tried contacting Twitter about this? They've given free access to researchers in the past. They'll likely ignore you or say no, and if they say yes it may be more restrictive than you like, but it's worth a shot.
- ehsankia 6y agoThis is just my own vague experience, but I don't think this specific to Twitter, nor does it really have to do with pricing people out. I think that public APIs in general are a thing of the past, mostly because of bad actors, security problems and scale. Look at things like Clearview AI, just slurping up every photo they can get their hands on. All it takes is one or two abusers and then everyone has to be limited. The simple instagram API that I used to just get my own most recent post 3-4 times per day, now requires me to submit an application, with multiple size app icons, justification for my use, privacy policy, ToS, etc. All to I can fetch my most recent post from my own profile. It's just ridiculous how every large website is clamping down on their APIs, but with abuse left and right, they don't really have many options.
- aranw 6y agoI'd care more if I could actually appeal my dev account being perma banned for real reason other than I failed to clearly express what I wanted to do with a app > You cannot create additional apps because your developer account was rejected or suspended.
- ceejayoz 6y agoWe got the same on one account because their emails went to spam. It's bloody weird to lock people out permanently for not seeing an email.
- aranw 6y agoI got banned cause they didn't agree with what I wanted to go and I couldn't email/message/discuss with anyone why my use was not approved and allowed. I couldn't resubmit with changes to the plan and I had a proper business plan and it all went in the bin as I couldn't get API access. Shouldn't of created it all on my personal account I guess but it was an important lesson on not relying on external services
- thinkingemote 6y agoOne amazing use of the twitter API is to be able to mass delete your favs, rts, and tweets. It's the only thing I use it for as the API and platform as a whole is otherwise hostile. https://github.com/MikeMcQuaid/TwitterDelete https://github.com/MikeMcQuaid/TwitterDelete
- esnard 6y agoLast time I checked (2 months ago, I think), the API couldn't fetch more than the 3600 latest liked / posted tweets. Has this changed?
- ceejayoz 6y agoIf you delete the first 3600 tweets, the next 3600 should now be the latest posted.
- esnard 6y agoYou're technically right, but the Twitter API won't return the next 3600, even after deleting the first ones. The response will be empty, even if you know for sure there's more.
- londons_explore 6y agoMeaning the API is leaking the number of deleted tweets? Could you make a tool to find out how many tweets someone has deleted?
- esnard 6y agoNo, my understanding is that Twitter has a "bucket" of the latest 3600 tweets you've posted / liked. This bucket is faster than their database to query, so once you empty the bucket, the API returns no result, and the bucket is never "refilled" from the database. Those are not technical terms, sorry, but this is how I currently understand it so it might help you too?
- drej 6y agoKeeping my fingers crossed for removal of OAuth and other complications accessing the API. I hate using libraries for this, all I want is a simple token-based REST API, something like Facebook and many others have had for years.
- ceejayoz 6y agoOAuth is how you get the token. Facebook uses OAuth just like Twitter does.
- FroshKiller 6y agoI hope they allow for blocking more than one user at a time at a minimum. Between the rate limit and only blocking one at a time, it takes forever to block a white supremacist and all their scumbag followers via the API. Much faster to just change your country to Germany.
- fluffernutter 6y agoWhy should anyone continue to use Twitter if it is unable to guarantee someone won't hijack one or more of its accounts? Let's face it, those aren't our accounts or our data. They are Twitter's. All of that is controlled by Twitter, and intended to serve their business interests, or whoever happens to be controlling Twitter at that moment. It was just a few days ago someone else was controlling Twitter.
- BenderV 6y agoThings I would like: * Date when you followed someone * Bookmarks api. Doesn't seems to be it.
- unilynx 6y agoWill they also switch from oauth1 to oauth2 with this? (they already offer oauth2 for server to server, but as far as I know it's still on oauth1 for user authentication)
- purephase 6y agoPublic roadmap is always an interesting decision to make.
- MBCook 6y agoNotice the page never seems to mention 3rd party clients, the only thing many of us care about.
- abootstrapper 6y agoI ran a Twitter app for 9 years that they crippled, crippled, then eventually killed with policies. It went from “@ev loves your app,” to “your app is against our terms of service” in that time. My Twitter days are done.
- iMuzz 6y agoHave you written about your experience? I'd just be curious to know what you built, and the series of the events that unfolded.
- deleted 6y ago[deleted]
- danellis 6y agoIt doesn't answer the most important question: is it OAuth2 now?
- roimor 6y agoI always read comments about how Twitter is not profitable. Any ideas as to how much of their revenue comes from ads vs. businesses paying for API usage?
- mypalmike 6y agoTwitter only has 8 consecutive quarters of profitability. At some point hn will catch on.
- alex_young 6y agoCan something actually be both ‘new’ and ‘improved’? Also, why does it sound like you’re trying to sell me a car?
- munificent 6y agoAn interesting side effect of making your product ad-driven is what it does to the incentive structure of treating your product as a platform. Twitter is just one example of many of companies who have created an API, asked developers to build on it, and then later burned the whole thing down. Fundamentally, if you let developers build products that access your data in ways that users want, the very first they're going to do is remove the fucking ads. And, obviously, if that's how your company makes money, you can't let that happen. Given the choice between killing your ads or killing your API, you're going to kill the API every time. Imagine running a casino and offering a "slot machine API". If you let the developers discard all of the losing spins, you're gonna have a bad time. This is essentially what an ad-driven company does when they have an API that lets developers separate the data users want (actual data) from the data they don't (ads).
- nabbe 6y agoUnless this is the idea. Never have worked with it before but my understanding (confirmed by many of the comments here) is that the current API is pretty difficult to work with. Rate limit the new API and allow less restrictive access through paid tiers. Suddenly Twitter is no longer reliant solely on ad revenue and all of the stigmas associated with it in the current changing environment. With this, they are no longer an ad company but a platform ala Google Maps/Stripe. Plenty of companies would be more than willing to pay for unrestricted access to Twitter for data analysis. Ad revenue may take a hit but won’t disappear overnight
- trustfundbaby 6y agoStill no word on if they plan to make twitter bookmarks a part of the API. Disappointing
- jMyles 6y agoLots of (seemingly justified) complaints here. Is anybody on Mastadon? I have joined, but I have no followers and don't know who to follow. I'd love some connections over there. I'm @PintSizePorcupine@mstdn.social
- caretak3r 6y agoI get it, but anything with the phrase "new and improved" always strikes a nerve with me. In all honesty I hope other companies learn from this, and put in the effort to bolster their defenses-in-depth, especially at a CSE-level. I have witnessed many a times, how much power they are given, and how easily it could be exploited by just a bit of coercion.