by michaelbuckbee · 11y ago · 0 comments
https://dev.twitter.com/overview/terms
The most egregious of which continues to be: "Apps replicating Twitter’s core user experience (what we’ve called “traditional Twitter clients”) are discouraged and have a ceiling of 100,000 users, among other restrictions. Be sure to read the applicable TOS clauses carefully if you’re considering building such an app."
This is really bad as "core user experience" is something open to a very wide degree of interpretation.
The example responses they provide are correct... except when they aren't. They use heterogenous JSON in their responses (silently replacing string literals with arrays, but only for some responses, etc.). They've added error codes without updating the docs for months on end (which sort of defeats the point of an error code - what use is it if you don't know what the error means?)
The only way I'm notified of these changes is when people file bug reports with the library, and I always have to ask them to tell me the exact query that cause the error for them, because they're almost impossible to reproduce otherwise[0], and the API is so inconsistent that I can't try and manually search for similar responses that will cause the error.
On the other hand, the Twitter API is a seamless[1] way to interface with an incredibly useful and powerful product, and it's a great source of data. I just wish the developer experience were seamless.
[0] e.g. https://github.com/ChimeraCoder/anaconda/issues/82
[1] Assuming your client library works, but I can't assume that if I'm the one responsible for maintaining it!
> changing it too often for my liking
Does not compute.
As others have said, I have had the misfortune of working on a project that used the FB API and relying on a feature that just inexplicably stopped working right around the time we were supposed to go live.
I was already personally uninterested in FB when this happened, but it gave me concrete belief of two very simple realisations:
- Tying your success to the whims of a third party company's developers is going to end in tears
- A motto like "Move fast and break stuff" is just an attempt to re-brand their fucking terrible development practices in a way that junior developers will treat as a positive thing.
That was a few years back, maybe they're better now. But I doubt it.
Both Facebook and Twitter are a complete dream compared to Valve's API for Steam and Team Fortress 2. Working with that is a complete nightmare, if it even provides a fraction of the capability you need (which it almost certainly does not).
The fact is, even with a large corp to corp relationship, you still can't absolutely rely on API consistency... it's pretty sad, but true... Netflix, Twitter, FB, Google and others have changed/revoked APIs before with minor to significant impace.
This is part of the reason why you shouldn't try to make applications designed to scale/adapt for years... design the simplest thing that does the job, and in as modular a way as possible. Avoid "enterprise" patterns as much as possible in favor of the simplest thing that works and is cheap/easy to replace if/when needed. It doesn't mean don't test, consider performance or write good code, just don't rely on it being around, and over-invest in that it likely won't.
You never know... a piece of software I once wrote to test our own product turned into its' own product and pieces of it are still in fortune 100 deployments... It's horrible, and was a hack to begin with. It didn't even support half the specification it was designed for (only the parts we needed)... just the same, it got the job done.
IIRC he also had support for making requests/responses in your browser to test, but that could just be an idea that never got implemented.
Gitlab has a clear business model that works just fine even with the decentralized nature of Git. Nothing Twitter has tried to make money works at all if decentralized, or even if other people build clients for the same central server.
Orgs shouldn't have twitter accounts, they should have their own twitter/microblog services!
Besides, even with email, centralized email services that trust other centralized implementations (as well as properly administered servers that have the correct credentials, rather than blocklists) have done much to shield ordinary users from the problem, and spam is now less than 50% of all email, compared to 90% in 2009.
Abuse is a separate and tougher nut to crack, though.
They've always meant apps that offer more or less the same functionality as official Twitter clients.
For the people who actually read the terms instead of picking up their pitchforks back when Twitter had that big tos "change of heart" would have understood that They definitely could have handled it better and been clear that the user limit was really meant for Twitter-clones.
It's clear they want to control the way most people use Twitter, but also to show advertising. As best I can recall, the tos change came around the same time as they started putting in ads. Besides the few remaining twitter clones always play catchup when Twitter puts out new features (recent example; polls).
That would mean that if I wrote a Twitter clone that consumed 100x less memory and was much more performant, it would still be a "banned" application even when there is clear benefit for the users.
>been clear that the user limit was really meant for Twitter-clones.
Even if that was true, its backstabbing developers who are popularizing Twitter in their own way.
>Besides the few remaining twitter clones always play catchup when Twitter puts out new features (recent example; polls).
And why is that a problem? What if an app developer thinks that new features are not worth them spending development time/money on?
It would be like Apple forcing ios developers to support force touch if they want to continue selling their apps.
Technically you're not prevented from doing so - you would just have to keep it to yourself (/family/friends/etc). Non-technical people rarely care about these things.
> backstabbing developers
I don't disagree. Would be interesting if there are any stats on who/what made Twitter popular, got any?
> And why is that a problem?
It's a problem for Twitter when you're trying to run a top-brand. Clients who don't keep up-to-date actually make Twitter look bad to the public. It also makes it harder for Twitter to innovate, move quickly (and probably get usage stats), without coordinating with external developers. Apple actually does (in some aspects) force developers to keep their apps up to date. I develop iOS apps and this actually consumes way more time than I wish it did.
Your concerns are valid from a third-party concern but from Twitter's first-party concern they are distractions.
Yes ! But shouldn't we let the users decide that? If one of the clients implements the newer features and users like them, they would switch to the other client. That is assuming Twitter believes in competition. This makes it seem like they want to eliminate competition and consolidate control. Its rather anti-capitalistic.
>Your concerns are valid from a third-party concern but from Twitter's first-party concern they are distractions.
Yes, I'm siding with with the third parties. Twitter is a giant company with a megaphone to make their argument anywhere they want. Personally, I don't think anyone should care about Twitter's bottom line except Twitter themselves.
They have much much harsher ToS (and enforce them) than the discussed Twitter ones.
I don't. Could you articulate why you think its fair?
No, it started out that way, but then the functionality of the official Twitter clients was expended, and then they redefined it to be so broad as to potentially hit anything that tweeted, and they they went farther still and started going after API keys for things that just consumed the data for their own ends.