Endpoint or method to return account(s) current standing (eg. suspended, deactivated, deleted etc)
This would be desirable for research into both active & historical fake & disinfo accounts. Academics might also like it
An endpoint or method that returns whether accounts has been renamed, suspended, deactivated or deleted, for both a single account and a list of accounts.
We should be able to pass in either screenname or id or idstr, or lists thereof.
Return an appropriately detailed JSON object.
We can currently only establish if an account is suspended by attempting a GET user/show & then parsing the error response codes.
It used to be possible to do a quick and dirty check on whether an account had been suspended by using cURL on the url
and completing it with either screenname= or userid=.
One could then parse the response and extract the title tag to see whether an individual account was still active or had been suspended.
If one had 10 or 20 ids to deal with, it was fast and required no faffing about with code for usable, helpful data.
The page code has been changed & this is now impossible.
An alternative is to use GET user/lookup
This of course only returns user objects if the user still exists on twitter.
But we can’t know if the withheld user objects are not returned because they are suspended or because they have been deleted or deactivated by the user.
To establish if an account is suspended we have to use user/show, which for a large # of ids is expensive (i.e. we rapidly run into rate-limits) & even then have to parse the error rather than get a straightforward response.
All this makes tracking fake & disinfo accounts harder than it needs to be.
Hence the “intent” url was incredibly useful.
I would add to this idea having the ability to retrieve whether an account is Locked/Restricted or not. It doesn't have to be a new endpoint, it could be an extra attribute to the current User object.