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
- 客户端密钥
API 访问需要预先批准
Reddit 于 2025 年 11 月关闭了其公共数据 API 的自助访问。现在,Reddit 在创建新应用之前需要手动批准。请查看 Reddit 的 负责任构建者政策 并通过 Reddit 开发者支持表单 提交请求。
一旦获得批准,创建一个第三方应用。访问之前的链接,或前往你的个人资料 > 设置 > 隐私 > 第三方应用授权 > 你是开发者吗?创建一个应用,并使用以下设置:
🌐 Once approved, create a third-party app. Visit the previous link, or go to your profile > Settings > Privacy > Third-party app authorizations > are you a developer? create an app. and use these settings:
- 从 n8n 复制 OAuth 回调 URL 并将其用作你应用的 重定向 URI。
- 应用的客户端 ID 显示在应用名称下方。复制该 ID 并将其添加为你的 n8n 客户端 ID。
- 复制应用的密钥并将其添加为你的 n8n 客户端密钥。