我正在尝试使用PredictionSample
in google-api-java-client
,但是通过ClientLogin
身份验证它给了我错误:
User is not a trusted tester
我已经在我的 API 控制台项目中激活了 Google Prediction API。而且我可以使用同一用户从http://code.google.com/apis/predict/docs/hello_world.html运行 Hello World 预测示例。它使用 oacurl 和 oauth2。
但它不适用于google-api-java-client
. 我也无法使 oauth2 与google-api-java-client
.
我搜索了文档和示例,但没有找到解决方案。是否可以使用google-api-java-client
.