diff --git a/website/docs/install/config.md b/website/docs/install/config.md index d041eb80b..c43a68567 100644 --- a/website/docs/install/config.md +++ b/website/docs/install/config.md @@ -377,11 +377,11 @@ Warning: Two Factor Authentication is **not** supported. For user timeline -apply API here `https://mastodon.example/settings/applications`(repalce `mastodon.example`), please check scope `read:search` +Apply API at `https://mastodon.example/settings/applications` (replace `mastodon.example`). Scopes `read:search` and `read:statuses` are needed. - `MASTODON_API_HOST`: API instance domain, only domain, no `http://` or `https://` protocol header - `MASTODON_API_ACCESS_TOKEN`: user access token -- `MASTODON_API_ACCT_DOMAIN`: acct domain for particular instance, Webfinger account URI, like `user@host` +- `MASTODON_API_ACCT_DOMAIN`: acct domain for this instance, i.e. the `domain` in the WebFinger URI `username@domain`. It's usually the same as `MASTODON_API_HOST`. ### Medium diff --git a/website/i18n/zh/docusaurus-plugin-content-docs/current/install/config.md b/website/i18n/zh/docusaurus-plugin-content-docs/current/install/config.md index a68ae55ea..abfd94a8c 100644 --- a/website/i18n/zh/docusaurus-plugin-content-docs/current/install/config.md +++ b/website/i18n/zh/docusaurus-plugin-content-docs/current/install/config.md @@ -353,11 +353,11 @@ RSSHub 支持使用访问密钥 / 码进行访问控制。开启将会激活全 ### Mastodon -用户时间线路由:访问 `https://mastodon.example/settings/applications` 申请(替换掉 `mastodon.example`)。需要 `read:search` 权限 +用户时间线路由:访问 `https://mastodon.example/settings/applications` 申请(替换掉 `mastodon.example`)。需要 `read:search` 和 `read:statuses` 权限。 - `MASTODON_API_HOST`: API 请求的实例,仅域名,不包括 `http://` 或 `https://` 协议头 - `MASTODON_API_ACCESS_TOKEN`: 用户 access token, 申请应用后,在应用配置页可以看到申请者的 access token -- `MASTODON_API_ACCT_DOMAIN`: 该实例本地用户 acct 标识的域名,Webfinger account URI,形如 `user@host` +- `MASTODON_API_ACCT_DOMAIN`: 该实例本地用户 acct 标识的域名,即 WebFinger URI `username@domain` 中的 `domain`,一般和 `MASTODON_API_HOST` 相同 ### Medium