2012-09-14 61 views
2

https://developers.google.com/google-apps/calendar/instantiate?hl=zh-CN爪哇 - 關於谷歌日曆API V3

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? 
+1

也許您可能想閱讀此http://code.google.com/p/google-api-java-client/wiki/OAuth2Draft10。雖然我沒有經歷過,但它可能會導致你需要去的方向 – MadProgrammer

回答

0

FYI:我已經得到了谷歌從他們要更新過時的文檔和示例使用新的API(V3)的例子作出正式答覆。

+0

爲什麼給我一個負面的評價,發佈我從谷歌團隊得到的官方答案? ... – casaout