简体   繁体   English

Reddit API redirect_uri?

[英]Reddit API redirect_uri?

I want to use the Reddit REST API for PHP. 我想使用Reddit REST API for PHP。 I have downloaded all necessary files and have used my id and secret however I have no idea what to have as the redirect uri. 我已经下载了所有必需的文件,并使用了我的ID和密码,但是我不知道重定向uri应该包含什么。 Every time I try to execute the code, it goes to the reddit site and says it's an invalid redirect_uri. 每次我尝试执行代码时,它都会转到reddit站点并说这是无效的redirect_uri。

What can I use as a redirect uri? 我可以用作重定向uri吗?

The redirect URI is where the user is sent after they've granted OAuth access to your application. 重定向URI是向用户授予OAuth访问您的应用程序权限后发送给用户的位置。 There's more information about this in the reddit OAuth docs . Reddit OAuth文档中有关于此的更多信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM