Google API和日历,登录令牌

时间:2013-06-26 18:03:09

标签: c# google-api google-calendar-api google-api-client

我想与我的Google日历联系。 我不知道如何使用OAuth 2.0。 我的参数Google API:

Client ID:
673534379963-342423423432vs315g.apps.googleusercontent.com

Client secret:
iu6V2J-42343242342XecmDounO

Redirect URIs:
urn:ietf:wg:oauth:2.0:oob
我得到日历:
EventQuery myQuery = new EventQuery("https://www.google.com/calendar/feeds/MAIL/private/full");
Google.GData.Calendar.EventFeed oEventFeed = service.Query(myQuery);

1 个答案:

答案 0 :(得分:1)

这不是答案,但我强烈建议不要发布客户ID和秘密!