谷歌API和日历,登录令牌
本文关键字:登录 令牌 日历 API 谷歌 | 更新日期: 2023-09-27 18:20:11
我想连接我的谷歌日历。我不知道如何使用OAuth 2.0。我的参数谷歌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);
这不是一个答案,但我强烈建议不要发布客户端ID和机密!