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

added authentication via username and password rather than the auth token #1

Merged
merged 2 commits into from
May 29, 2022
Merged

added authentication via username and password rather than the auth token #1

merged 2 commits into from
May 29, 2022

Conversation

trislee
Copy link
Contributor

@trislee trislee commented May 24, 2022

Changed the client.api.Api class to take a username and password rather than the auth_id, to make it easier for less technical researchers to use. Now the environment variables TRUTHSOCIAL_USERNAME and TRUTHSOCIAL_PASSWORD need to be set, instead of TRUTHSOCIAL_TOKEN.

I tried to follow the same programming style used in this repo and in gabber, let me know if I should change anything.

@lxcode lxcode merged commit b4ce90e into stanfordio:main May 29, 2022
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

Successfully merging this pull request may close these issues.

2 participants