Google app engine 使用google drive api读取文件列表时出现的问题

Google app engine 使用google drive api读取文件列表时出现的问题,google-app-engine,google-api,google-drive-api,Google App Engine,Google Api,Google Drive Api,我遵循新的GoogleDriveAPI,要求在 然而,代码似乎在以下行中显示了用户交互的需求: String url = flow.newAuthorizationUrl().setRedirectUri(REDIRECT_URI).build(); System.out.println("Please open the following URL in your browser then type the authorization code:"); System.out.p

我遵循新的GoogleDriveAPI,要求在

然而,代码似乎在以下行中显示了用户交互的需求:

 String url = flow.newAuthorizationUrl().setRedirectUri(REDIRECT_URI).build();
    System.out.println("Please open the following URL in your browser then type the authorization code:");
    System.out.println("  " + url);
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String code = br.readLine()
我们之前在GoogleAppEngineforJava应用程序中使用DocumentsAPI做同样的事情。但看起来谷歌打破了它,因为我们的代码突然停止工作


那么,如何使用google drive api搜索和读取google文本文档呢?

服务器端实现似乎是一种方法

我查看了服务器端api,但从google app engine看,文档的读取应该更简单