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

Search and multi-user feeds broken #852

Closed
Shifter2600 opened this issue Apr 26, 2023 · 28 comments
Closed

Search and multi-user feeds broken #852

Shifter2600 opened this issue Apr 26, 2023 · 28 comments

Comments

@Shifter2600
Copy link

Search is no longer providing results.

@zedeus
Copy link
Owner

zedeus commented Apr 26, 2023

The endpoint has started returning 404 Not Found, I don't know if this was intentionally done.

@corruptbear
Copy link

corruptbear commented Apr 27, 2023

I think the endpoint might still be here. If you visit the url through your browser you get a 403 error. Something must have changed in the request process...

@da7a90-backup
Copy link

When you're logged in Twitter, if you copy the request to https://twitter.com/i/api/2/search/adaptive.json as a cURL it still works tho. I got it to work in a simple shell script where I update the cursor and call the endpoint again, but you get rate limited quickly!

@halictuz
Copy link

halictuz commented Apr 27, 2023

Elon Musk restricted search to registered accounts

https://9to5mac.com/2023/04/26/twitter-restricts-search-fleets-coming-back/

Could maybe replace the search with a ddg (or whatever engine) filter search like for example:

search term site:twitter.com

Not sure how it would work out making a Twitter account and running all nitter search queries over it though?

@B0pol
Copy link
Contributor

B0pol commented Apr 27, 2023

if a search engine is use instead of twitter's search, you lose access to all filters such as minimum amount of likes, retweets, exclude retweets…

@Trit34
Copy link

Trit34 commented Apr 27, 2023

twitter-api-client on PyPI was updated 3 hours ago: does it fix the problem with search?

@jve-engineering
Copy link

twitter-api-client on PyPI was updated 3 hours ago: does it fix the problem with search?

Based on the issues, unfortunately, no:

Search will now need an email, username, and password just like Account and Scraper.

It looks to me like #830 from @PrivacyDevel could be a solution for this as well.

@Trit34
Copy link

Trit34 commented Apr 27, 2023

It looks to me like #830 from @PrivacyDevel could be a solution for this as well.

Search works fine in their instances, indeed. But beware of the rate limit!

@DrSocket
Copy link

It looks to me like #830 from @PrivacyDevel could be a solution for this as well.

Search works fine in their instances, indeed. But beware of the rate limit!

how to avoid account ban when signed in?

@animegrafmays

This comment was marked as resolved.

Repository owner deleted a comment Apr 28, 2023
Repository owner deleted a comment Apr 28, 2023
@da7a90-backup
Copy link

it gets better, spread love not hatred <3.

@PrivacyDevel
Copy link
Contributor

It looks to me like #830 from @PrivacyDevel could be a solution for this as well.

Search works fine in their instances, indeed. But beware of the rate limit!

how to avoid account ban when signed in?

Create accounts that are exclusively used by your Nitter instance that you don't care too much about losing. Or just risk it and hope for the best. I didn't lose any of my accounts yet at least.

@halictuz
Copy link

yeh, was just an instant idea for that issue that came to my mind. It would still be better than no search at all, right? But account creation for every instance could work, too.

@Ristellise
Copy link

Ristellise commented Apr 29, 2023

Hi! Found this discussion while looking for potential solutions for my project. I might add that those unofficial tokens (via v1.1 api [I know, yikes.]) Appear to work. Not too sure how long but it could be a solution.

@zedeus zedeus changed the title Nitter search no longer presenting results. Search and multi-user feeds broken Apr 29, 2023
@lounges
Copy link

lounges commented May 3, 2023

This is working again? At least multi user feeds are: https://nitter.net/ap,cnn

@animegrafmays
Copy link

I can confirm search is working on our nitter instance

@cloud1992
Copy link

Will this be permanent? @zedeus . What changed?

@zedeus
Copy link
Owner

zedeus commented May 4, 2023

Oh nice, I guess Twitter reinstated the new GraphQL API we use. I didn't change anything, and it seems likely they will break it again in the near future, but enjoy it while it lasts!

@ArtemBernatskyy
Copy link

@zedeus can you point out to the exact code where you interact with GraphQL? Thx!

@antonia9908
Copy link

what is the code with the keys?

@Ristellise
Copy link

Hi! Found this discussion while looking for potential solutions for my project. I might add that those unofficial tokens (via v1.1 api [I know, yikes.]) Appear to work. Not too sure how long but it could be a solution.

I tried implementing the graphQL version on my local version. It works for a number of users I tried but unfortunately it doesn't do shadowbanned/Age restricted(?) users.

For other routes they all are gated at maximum of X amount tweets or to that effect. A potential solution would be to try and scrape the entirety of twitter. But I personally don't think that is a valid solution when you just want to start with X amount of users first. Anyone has any ideas?

@ArtemBernatskyy
Copy link

@Ristellise , we can create a group and split that 40k+ per month bill for institutional twitter API (but that group should be large lmao)

@psegovias
Copy link

is working again? i see many instances working 100%

@Trit34
Copy link

Trit34 commented May 10, 2023

is working again? i see many instances working 100%

It works again… for now, until “this guy” messes it up again. So, let’s enjoy it as long as we can.

@sawtoothpuma
Copy link

Not working yet again as of 6/7/23.

@animegrafmays
Copy link

cannot confirm this behavior is happening again, our nitter instance is more or less functioning as normal

@the-blank-x
Copy link

Try doing a basic search query (e.g. #holopuns) as some search filter options are broken

@animegrafmays
Copy link

some searches seem kind of broken. for example searching gun didn't work but NASA did on first search, second search the results were the opposite and gun worked but NASA didn't. I think they're just actively working on something imo

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