mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-11 08:24:11 -05:00
[GH-ISSUE #386] Allow for user-provided twitter credentials when self-hosting (like insta) #9058
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Gremious on GitHub (Mar 8, 2024).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/386
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.
40555a4716/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?