You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,10 +42,11 @@ In order to publish on Mastodon you need to enter in `.env` file, on the site ro
42
42
43
43
```python
44
44
MASTODON_BASE_URL="URL of your Mastodon instance. For example https://mastodon.social"
45
-
MASTODON_USERNAME="Your username for Mastodon login"
46
-
MASTODON_PASSWORD="You password for Mastodon login"
45
+
MASTODON_OAUTH_TOKEN="Token of your Mastodon registered App"
47
46
```
48
47
48
+
:exclamation: Starting from Mastodon 4.4.0 posting using Username/Password has been deprecated. Now you have to use the OAuth Token method instead. Your OAuth Token is available in the admin page of your web Mastodon page.
49
+
49
50
There is no need to register an app in your Mastodon profile because *Fediverse* will do it for you!
50
51
51
52
On every run *Fediverse* looks for a file called `pelicanfediverse_clientcred.secret` and - if it is not found - it gets in touch with Mastodon, creates an app called *PelicanFediverse* and writes API keys and other necessary information in this file.
@@ -59,9 +60,10 @@ In `pelicanconf.py` some new parameters can be defined
59
60
60
61
-**MASTODON_VISIBILITY** : Set post's visiblity on mastodon. Can be 'direct', 'private', 'unlisted' or 'public'. Default value = 'direct'
61
62
62
-
More details : https://mastodonpy.readthedocs.io/en/stable/05_statuses.html#writing
63
+
More details : https://mastodonpy.readthedocs.io/en/stable/05_statuses.html#writing
64
+
63
65
-**MASTODON_READ_MORE** : Text to add at the end of the post, before link to the pelican's article. Default value = 'Read more: '
0 commit comments