我想与我的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);
答案 0 :(得分:1)
这不是答案,但我强烈建议不要发布客户ID和秘密!