问题描述
我在从谷歌api v2迁移到v3时遇到了很多混乱和问题。
我正在处理每个员工的工作安排公司在集成谷歌日历的帮助下。当提供商更改版本时,我失去了完全控制权。让我知道以下事情?
1.如果他/她的gmail ID和密码已知,我可以访问员工的日历吗?
2.是否需要提供个人客户ID和客户端密码?
3.公共公共API访问的使用是什么(服务器密钥)
4.如何形成必须发送到服务器的请求URL。
5.如何使用从开发者控制台下载的JSON文件
5.之前我使用的是查询
尝试
将myService变为新CalendarService(test)
myService.setUserCredentials(user_name,user_password)
Dim query As New CalendarQuery()
query.Uri = New Uri(https://www.google.com/calendar/feeds/default/owncalendars/full)
Dim resultsFeed As CalendarFeed = DirectCast(myService.Query(query),CalendarFeed)
Catch ex As Exception
radnote.Text = ex.ToString 帐户无法访问,请验证您的Google帐户用户名和密码
radnote.Show()
connect = 0
结束尝试
i am facing so much of confusions and problems while migrating from google api v2 over to v3.
I am dealing with the job scheduling of each employees in a company with the help of integrated google calender. i lost the full control while the provider change the version. let me know the following thing?
1. can i access the calender of an employee if his/her gmail id and its password is known?
2. is it needed to provide individual CLIENT ID and CLIENT secret?
3. what is the use of public Public API access(server key)
4. how to form the request url that must send to the server.
5. how to use the JSON file downloaded from the developer console
5. previously i was using the query as
Try
Dim myService As New CalendarService("test")
myService.setUserCredentials(user_name, user_password)
Dim query As New CalendarQuery()
query.Uri = New Uri("https://www.google.com/calendar/feeds/default/owncalendars/full")
Dim resultFeed As CalendarFeed = DirectCast(myService.Query(query), CalendarFeed)
Catch ex As Exception
radnote.Text = ex.ToString "Account not accessible, please verify your google account user name and password"
radnote.Show()
connect = 0
End Try
推荐答案
这篇关于集成谷歌日历的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!