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
Has public_search stopped working? #3
Comments
Looks like Gab may have disabled it: https://twitter.com/jasonbaumgartne/status/1276518618692452360 |
@jaypinho As you said they, unfortunately, disabled that public timeline, and I've yet to find a suitable way to get that same functionality going. In the new branch, new_searches, two similar functions have been added. pro_search, which searches the timeline of pro user gabs. It works exactly the same as public_search did, but the timeline it's accessing only shows posts from paid gab users. featured_search, this searches a few of the featured timelines, hot and top by day, but these only return a few hundred posts a day it looks like, and it's obviously pretty opaque as to what will get returned by Gab and what doesn't. They've both only been quickly tested by me, but everything looks to be working as it should for them. |
Awesome, thank you! Out of curiosity, how did you find the new endpoints? Just clicking around on the site with dev tools open? (Or is there API documentation somewhere?) |
No API docs that I know of. So I just play around with the site seeing what I can find, and in this case since the gab code is open source I also took some looks through it to try and find better routes. |
Got it, thanks! |
It looks like the
search
method still returns API results but withpublic_search
I just get this:Call:
https://gab.com/api/v1/timelines/public?limit=40&max_id=104479537226061425
Response:
{"error":"This method requires an authenticated user"}
(If I'm logged in, I get an HTML page that says "You don't have permission to view this page.")
The text was updated successfully, but these errors were encountered: