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

Doesn't work on protected accounts #2

Open
DianaNites opened this issue Apr 24, 2022 · 3 comments
Open

Doesn't work on protected accounts #2

DianaNites opened this issue Apr 24, 2022 · 3 comments

Comments

@DianaNites
Copy link

I wanted a graph but my account is protected, so even though I give permission to it, I can't get a graph?

@Nican
Copy link
Owner

Nican commented Apr 26, 2022

Uhh-- The security of this tool is really bad, and also I share tokens without much care for the origin user.

It would require quite some refactoring to make this work properly.

You can un-protect your account, run the graph, and protect it again.

@DianaNites
Copy link
Author

What do you mean by share tokens? What security problems are there?

@Nican
Copy link
Owner

Nican commented Apr 26, 2022

The way users are authenticated is by setting a localStorage with the userId. It is super easy to go in there, and just change the id.

And by sharing tokens, meaning that I may use User A's OAuth token to retrieve the list of User B's friend list. When the user logs-in, it just goes into a giant pool of tokens to start downloading user profiles. I would have to single out the protected user account's token to download their friend lists, otherwise I would get an access denied error from Twitter.

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

No branches or pull requests

2 participants