Google 日历与订阅日历"Remember the milk"同步问题

Google calendar sync issue with "Remember the milk" subscribed calendar

本文关键字:日历 milk 同步 问题 the Remember Google      更新时间:2023-10-16

我们使用谷歌日历API v2将谷歌日历事件同步到我们的桌面应用程序。应用程序检索所有日历事件并将其保存在本地以供将来参考。

我的"记住牛奶"日历有同步问题,这是我使用 Google 日历订阅的。

这是我的申请流程:

  1. 最初使用以下 HTTP 请求提取日历列表:https://www.google.com/calendar/feeds/default/allcalendars/full

  2. 使用上一个请求中获取的日历 ID 从日历中获取所有事件:http://www.google.com/calendar/feeds/CalendarId/private/full?orderby=lastmodified&sortorder=descending&singleevents=true

  3. 逐个处理每个日历,并将日历更新的最小
  4. 标记值保存为上次日历同步,在下一次同步中使用此更新的最小值检索更新的事件。

文档说它应该只提供更新的事件,但我的"记住牛奶"日历总是将所有事件作为更新的事件(每 20 到 30 分钟一次(。

我在这里做错了什么?

查看查询字符串。您缺少更新的最小值。查询字符串应为读数。

http://www.google.com/calendar/feeds/CalendarId/private/full?orderby=lastmodified&sortorder=descending&singleevents=true&updated-min=2005-08-09T10:57:00-