Atualizar Readme.md
This commit is contained in:
parent
6f4d5df705
commit
695ff01d32
1 changed files with 11 additions and 2 deletions
13
Readme.md
13
Readme.md
|
@ -30,12 +30,21 @@ To run this script, you need to have the following dependencies installed on you
|
|||
|
||||
## Implementation
|
||||
|
||||
1. **Configure the Script**: Open the script file and replace the placeholders with your actual Mastodon API token and instance URL:
|
||||
To set up the bot with your Mastodon account, follow these steps:
|
||||
|
||||
1. **Create a New Application**:
|
||||
- Go to your Mastodon instance in a web browser.
|
||||
- Log in to your account.
|
||||
- Navigate to **Settings** > **Development** > **New Application**.
|
||||
- Fill in the necessary details (you can use any name and redirect URI).
|
||||
- Click **Save**, and note down the **Access Token** provided.
|
||||
|
||||
2. **Configure the Script**: Open the script file and replace the placeholders with your actual Mastodon API token and instance URL:
|
||||
```python
|
||||
mastodon = Mastodon(
|
||||
access_token='YOUR_API_TOKEN',
|
||||
api_base_url='https://YOUR_MASTODON_INSTANCE'
|
||||
)
|
||||
2. **Run the bot**: Execute the script to start monitoring for screenshots.
|
||||
3. **Run the bot**: Execute the script to start monitoring for screenshots.
|
||||
|
||||
- `python3 bot_mastodon.py`
|
||||
|
|
Loading…
Add table
Reference in a new issue