【发布时间】:2017-02-26 03:00:13
【问题描述】:
我想在我的 Android 应用程序中实现 UBER API。
我正在使用this link for the API 和this link for the sandbox
在标题授权中:
Bearer <token>
在参数中:
start_latitude,start_longitude
我正在学习教程,但收到一条错误消息:
{"message":"Requires at least one scope. Available scopes: ","code":"unauthorized"}
这是为什么呢?
【问题讨论】:
-
快速谷歌,它提出了这个:developer.uber.com/docs/ride-requests/tutorials/api/… 您需要了解的有关 OAuth 的关键信息都可以在您的应用程序仪表板中找到。 client_id 和 client_secret 在设置选项卡上可用。 redirect_uri 和 您在授权选项卡上指定的范围。 认为您需要查看应用程序仪表板内部
-
在“授权”选项卡上“通用范围”已激活
标签: android api request uber-api