Google reader api 将项目标记为未读
使用第一个网址,我可以将帖子标记为已读,但第二个网址不起作用。这是将项目标记为未读的正确请求吗?
//THIS ONE WORKS AND I CAN MARK MY ITEM AS READ
NSString *url=[NSString stringWithFormat:@"https://www.google.com/reader/api/0/edit-tag?a=user/-/state/com.google/read&i=%@&T=%@", entry.identifier, token];
//THIS ONE DOESN'T WORKS AND I CAN'T MARK MY ITEM AS UN-READ
NSString *url=[NSString stringWithFormat:@"https://www.google.com/reader/api/0/edit-tag?a=user/-/state/com.google/kept-unread&i=%@&T=%@", entry.identifier, token];
With the first one url I can mark a post as read but the second one doesn't work. Is this the correct request to mark an item as unread?
//THIS ONE WORKS AND I CAN MARK MY ITEM AS READ
NSString *url=[NSString stringWithFormat:@"https://www.google.com/reader/api/0/edit-tag?a=user/-/state/com.google/read&i=%@&T=%@", entry.identifier, token];
//THIS ONE DOESN'T WORKS AND I CAN'T MARK MY ITEM AS UN-READ
NSString *url=[NSString stringWithFormat:@"https://www.google.com/reader/api/0/edit-tag?a=user/-/state/com.google/kept-unread&i=%@&T=%@", entry.identifier, token];
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
除了添加
kept-unread
标签之外,您还需要删除read
标签(使用r
参数)。该请求如下所示:In addition to adding the
kept-unread
tag, you also need to remove theread
one (with ther
parameter). The request would look like: