nitter icon indicating copy to clipboard operation
nitter copied to clipboard

Will the new Twitter API policy impact Nitter?

Open Tiv0w opened this issue 2 years ago • 9 comments

Twitter Dev account tweeted today that there will soon be no free access API anymore: https://nitter.net/TwitterDev/status/1621026986784337922#m

My school project is heavily reliant on Twitter (it's a requirement from the school), and deprecating the free access, I'm seeking alternatives. And one possibility would be to host my own Nitter instance and scrape it after (if the project still functions given this new Twitter information).

So I'm asking this to know if I should invest dev time into scraping my own Nitter instance or if I'm better off waiting for more news? Thanks in advance for the reply.

(And thanks for Nitter, I only consume Twitter through Nitter instances for my personal entertainment.)

Tiv0w avatar Feb 02 '23 10:02 Tiv0w

It's very unlikely Nitter will be affected since the APIs aren't used in the official way with developer credentials. I'm slowly moving stuff to use their newer GraphQL APIs anyway, so if it breaks it'll be fixed soon-ish.

zedeus avatar Feb 02 '23 13:02 zedeus

@zedeus since there is no open pull request for the GraphQL API migration, I'll leave a comment here. It would be great if you can document the GraphQL queries that Nitter will do - so that it's clearer how to reproduce them. From my personal experience, when I work on GraphQL sometimes it's difficult to reverse-engineering the code into the original gql query to reproduce the behaviour.

What do you think?

Thanks for Nitter, of course :)

jman-schief avatar Feb 02 '23 14:02 jman-schief

It's very unlikely Nitter will be affected since the APIs aren't used in the official way with developer credentials. I'm slowly moving stuff to use their newer GraphQL APIs anyway, so if it breaks it'll be fixed soon-ish.

How does it look from a legal standpoint now that Twitter is owned by Elon and is a private company. Did they actually change their view on such things like Nitter?

halictuz avatar Feb 02 '23 20:02 halictuz

@halictuz the "Developer Agreement", last modified 23 januari 2023, does contain the following clause.

"II. Restrictions on Use of Licensed Materials A. Reverse Engineering and other Restrictions: You will not or attempt to (and will not allow others to) [...] c) use or access the Licensed Materials to create or attempt to create a substitute or similar service or product to the Twitter Applications; "

so :shrug:

BartTerpstra avatar Feb 02 '23 21:02 BartTerpstra

I'm not bound by that developer agreement, so whatevs.

zedeus avatar Feb 03 '23 03:02 zedeus

@jman-schief It's not a real GraphQL API, it's really just an RPC-like API on a /graphql/ route, so the implementation isn't quite as complex.

zedeus avatar Feb 03 '23 03:02 zedeus

as of 2 hours ago, nitter no longer displays NSFW tweets unless you click the search option but don't actually search.

jadedgnome avatar Apr 06 '23 21:04 jadedgnome

Apart from the issue mentioned above, I also noticed that instances other than the official nitter.net instance, even up-to-date ones, will sometimes error out when trying to access pages of NSFW accounts. This issue is not guaranteed to occur, but it happens regularly enough since the announced Twitter API change. Only the following message will be displayed:

Tab title: Jester route exception

An error has occured in one of your routes.

Detail: fatal.nim(53) sysFatal
asyncfutures.nim(389) read
asyncfutures.nim(389) read
asyncfutures.nim(389) read
index 0 not in 1 .. 12

UmBottesWillen avatar Apr 20 '23 23:04 UmBottesWillen

This will be fixed by #812 which I will merge soon. Twitter just banned unauthenticated access to the endpoint used for search, so I'm replacing it in that PR as well.

zedeus avatar Apr 20 '23 23:04 zedeus

Any updates yet? I want to view age restricted content but don't want to create an account to do so.

sawtoothpuma avatar May 09 '23 12:05 sawtoothpuma

Any updates yet? I want to view age restricted content but don't want to create an account to do so.

Use PrivacyDev’s instance, then. But beware of the rate limit!

Trit34 avatar May 10 '23 08:05 Trit34

@zedeus , first up thanks for Nitter.

I notice the Twitter Nitter account is now blocked.

I love the idea of Nitter instances on GitHub, is there a way to map all the instances, so folk can navigate if they need to?

And apologies, I don't properly understand Github. It would be great if the answer is here, but I am effectively wearing a blindfold, and would need very simple instruction, if possible.

Thanks again.

innov8tor3 avatar May 17 '23 07:05 innov8tor3

@innov8tor3

I notice the Twitter Nitter account is now blocked.

What account? There is no account for Nitter. Here's a list of instances: https://github.com/zedeus/nitter/wiki/Instances

zedeus avatar May 17 '23 07:05 zedeus

The answer was no, thankfully.

zedeus avatar Jul 06 '23 23:07 zedeus