首页 > 解决方案 > 使用 Google Proximity Beacon API 注册 iBeacon

问题描述

我一直在尝试使用 Google OAuth Playground 使用 Google Proximity Beacon API 注册 iBeacon,因为无法使用 Beacon Tools App 进行注册。 1) Signed up on Google API Console. 2) Created new Project. 3) Enabled Beacon Proximity API and Nearby API. 4) Generated API key from Credentials. 5) Provided Client ID as header ( "Authorization":BearerValue )

https://proximitybeacon.googleapis.com/v1beta1/beacons:register?key=(API_KEY)

{ "advertisedId": { "type": "EDDYSTONE", "id": "T3jqVgkCAwoToQABAACAew==" }, "status": "ACTIVE" }

Proximity Beacon API的Beacon Editor权限也在我的 IAM - Google API 控制台帐户中提供。

但我得到的回应是 { "error": { "code": 403, "message": "Unauthorized.", "status": "PERMISSION_DENIED" } }

找到类似的帖子,但没有一个有正确的答案。有没有人找到解决方案?

标签: iospostmanibeacongoogle-proximity-api

解决方案


推荐阅读