[問題] 請問Google Play Android Developer API

作者: powerjj (ya)   2014-05-04 09:57:48
最近完成了Google Play的In App Purchase,接著要做購物收據驗證,查詢了幾天,
發現要用Google的Purchase Status Api,包含在Google Play Android Developer API中...
於是我到了Google Developers Console去建立了一個專案,
到了API開啟Google Play Android Developer API
創了一個Client ID按照網路上的步驟取得了Refresh Token和Access Token,
也去了google play publish page中加入了此Client ID的Email
最後按照下面網址的方法:
http://stackoverflow.com/questions/21978095/validating-google-play-purchases-using-purchase-status-api
創出一個URL,但是我直接貼在網址列測試的時候,
Google有回應給我JSON,但內容卻是告知我403 Forbidden?
小弟從未使用過Google API,不知道忽略了什麼東西,就連想使用:
https://www.googleapis.com/userinfo/v2/me?access_token=[MY ACCESS TOKEN]
也會回應給我403 insufficientPermissions...
我已經研究了好幾天了><
有沒有高手可以幫我一下,感謝!!!!

Links booklink

Contact Us: admin [ a t ] ucptt.com