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

Allow for user-provided twitter credentials when self-hosting (like insta) #386

Closed
Gremious opened this issue Mar 8, 2024 · 0 comments · Fixed by #485
Closed

Allow for user-provided twitter credentials when self-hosting (like insta) #386

Gremious opened this issue Mar 8, 2024 · 0 comments · Fixed by #485
Labels
feature request New feature or request

Comments

@Gremious
Copy link

Gremious commented Mar 8, 2024

I'm not very familiar with the project, so please correct me if I'm wrong.

Twitter posts are fetched with a guest token, which is akin to how you can browse tweets when logged out, and because of that, you can't get nsfw-tagged tweets.

https://github.com/wukko/cobalt/blob/40555a471693af9a8cfbf4be517bcfe38e023909/src/modules/processing/services/twitter.js#L96-L98

There are however gifs out there to be downloaded which are tagged nsfw but are not, like some bot accounts: e.g. this tweet fails because cobalt sees it as "sensitive content" https://twitter.com/geocitiesgifbot/status/1766208542338355583

And also we should be able to just download sensitive content too anyway.

I would like to suggest allowing some twitter token/credentials to use instead of guest, when self hosted, much like you can provide instagram ones in a file.

I haven't had the pleasure of touching twitter api's myself, though I have heard that it's a pain, so I don't know if that's possible. Maybe with a user login or something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant