Reddit 凭据#
¥Reddit credentials
你可以使用以下凭据验证以下节点:
¥You can use these credentials to authenticate the following nodes:
先决条件#
¥Prerequisites
创建 Reddit 账户。
¥Create a Reddit account.
支持的身份验证方法#
¥Supported authentication methods
- OAuth2
相关资源#
¥Related resources
有关服务的更多信息,请参阅 Reddit 开发者文档。
¥Refer to Reddit's developer documentation for more information about the service.
使用 OAuth2#
¥Using OAuth2
要配置此凭据,你需要:
¥To configure this credential, you'll need:
- 客户端 ID
¥A Client ID
- 客户端密钥:
¥A Client Secret
Developer program
Reddit 的开发者计划目前处于封闭测试阶段。以下说明适用于普通 Reddit 用户,不适用于开发者平台成员。
¥Reddit's developer program is in a closed beta. The instructions below are for regular Reddit users, not members of the developer platform.
通过创建 第三方应用 生成两者。访问上述链接或转到你的个人资料 > 设置 > 安全和隐私 > 管理第三方应用授权 > 你是开发者吗?创建应用。
¥Generate both by creating a third-party app. Visit the previous link or go to your profile > Settings > Safety & Privacy > Manage third-party app authorization > are you a developer? create an app.
使用以下设置配置你的应用:
¥Use these settings for your app:
- 从 n8n 复制 OAuth 回调 URL,并将其用作你应用的重定向 URI。
¥Copy the OAuth Callback URL from n8n and use it as your app's redirect uri.
- 应用的客户端 ID 显示在应用名称下方。复制该文件,并将其添加为你的 n8n 客户端 ID。
¥The app's client ID displays underneath your app name. Copy that and add it as your n8n Client ID.
- 复制应用密钥,并将其添加为 n8n 客户端密钥。
¥Copy the app's secret and add it as your n8n Client Secret.