2

https://developers.google.com/google-apps/calendar/instantiate?hl=zh-CN

I would like to use Google Calendar API v3, but in this example, I can't find these libraries:

import com.google.api.client.auth.oauth2.draft10.AccessTokenResponse; 
import com.google.api.client.googleapis.auth.oauth2.draft10.GoogleAccessProtectedResource; 
import com.google.api.client.googleapis.auth.oauth2.draft10.GoogleAccessTokenRequest.GoogleAuthorizationCodeGrant; 
import com.google.api.client.googleapis.auth.oauth2.draft10.GoogleAuthorizationRequestUrl; 

Perhaps they are too old and deprecated? and where can I get the latest examples for authorization codes?
4

1 に答える 1

0

fyI: Google から、古いドキュメントと例を新しい API (v3) を使用した例で更新するという公式の回答を得ました。

于 2012-10-10T11:31:17.863 に答える