Skip to content

lock the secrets file #1

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion set_up_twitter.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ consumer_key = "I'M A CONSUMER KEY"
consumer_secret = "I'M A CONSUMER SECRET"
access_token = "I'M AN ACCESS TOKEN"
access_token_secret = "I'M AN ACCESS TOKEN SECRET"
```
```

* The default on some systems is for new files to be publicly readable, so you should change the permissions on the secrets file so no one can hijack your Twitter account. To remove the world-read permission, on the bash console, make sure you're in the hello-world-bot directory and run
```sh
chmod o-r secrets.py
```