-
Notifications
You must be signed in to change notification settings - Fork 242
Search Returns 404 #249
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
Comments
I think the search endpoint doesn't work since April 24-25. Does anyone have any thoughts how to resolve this? |
I've been doing some research. What I've beeing noticing is that they require now the This pkg seem a bit inactive... Others alternatives are that you go for scraping or that you compute by yourself this https://github.com/iSarabjitDhiman/XClientTransaction/tree/master |
Thanks for the link @satinfive . I used the code from the Quickstart and modifying the |
could you please share a snippet on how could be done with this library? this library doesn't seem to support passing headers, so I assume I have to add it to the source code. |
I pinged the author in my tickets and even sent an email, no response. I tried looking at other similar packages and I've yet to find any that has a similar |
@SakiSakiSakiSakiSaki Here is the full code to use the
Just set your |
Wow thanks for sharing this, can easily replace my code with a functionalized version of this. So seems like we're relying on |
The only change that needs to be done to |
Yes, as @Abolfazl mentioned, you need to modify the package to add this new header on each request. I think X required this header progressively as a mechanism to protect it from unauthorized clients. You could even adapt the logic of the snippet using httpx instead of requests as this pkg does. |
@Abolfazl You left your bearer token in your code block. |
What a silly website. Thanks. |
I am using the following code to login to Twitter and perform searches
I did some digging and it looks like the error is because https://twitter.com/i/api/graphql/nK1dw4oV3k4w5TdtcAdSww/SearchTimeline returns 404. However when I access directly from browser, it returns 403 (correct)
This script was working fine up until yesterday. The login is working fine but what can I do to resolve this issue?
The text was updated successfully, but these errors were encountered: