-
Notifications
You must be signed in to change notification settings - Fork 23
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
user_activity retrieves <500 posts, retrieving more requires logging in #23
Comments
I implemented a quick workaround in commit bellingcat@0a698e5. Supplying the I'm not sure how frequently the token used in the |
Thanks for the heads up, and for implementing a workaround. This prompts a larger question on the extent to which we're comfortable with GoGettr accessing "private" API endpoints. @lxcode, do you think we should incorporate a way to do private auth upstream? |
I don't see any problem with having an authenticated mode. I'd make it optional, since I assume other endpoints still allow pulling unauthed. |
The artificially limited "end" response has |
Gettr seems to have changed its public API, and now only allows ~500 posts to be retrieved without logging in. This is also apparent when looking at a user's timeline in a web browser: scrolling to the bottom of a user timeline when you're not logged in shows ~500 user posts and says "END" when you reach the limit, while scrolling to the bottom of the timeline when you ARE logged in shows all user posts (see attached image)
Adding an
X-App-Auth
header parameter from the logged-in user containing the username and a generated token allows you to retrieve all of a user's posts, i.e.:Is implementing a login flow within the scope of this project? I could potentially take a crack at implementing it.
Might be related to issue #21
The text was updated successfully, but these errors were encountered: