处理谷歌应用程序集成中的通知/事件
我计划将 Google Apps 集成到我的网络应用程序中。我的应用程序是否可以收到有关 Google Apps 内执行的某些操作的通知?例如,假设 Google Apps 管理员将一名成员添加到群组(邮件列表)。我希望我的应用程序能够收到有关此事件的通知,以便我可以获得新群组成员的列表。
我怎样才能实现这个目标?
让我知道你的想法。
I am planning to integrate Google Apps in my web application. Is it possible for my application to get notified on some operations performed inside Google Apps? For example, say the admin of Google Apps adds a member to a group (mailing list). I want my application to get notified on this event so that I can get the list of new group members.
How can I achieve this?
Let me know your thoughts.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是,目前的答案是您必须主动扫描更改。
对于 Google 文档,有一个“更改”提要为您提供此信息,希望在不久的将来可用于其他应用程序组件...
无论如何都没有通知框架,但更改提要已经足够好了。
顺便说一句,这是一个真正的差距,对于大型企业来说,扫描变得痛苦且昂贵,特别是如果您必须快速执行此操作。
Unfortunately, the answer for the moment is that you have to actively scan for changes.
For Google Docs there is a "changes" feed that gives you this info, hopefully one will become available for other Apps components in the near future...
There is no notification framework in any case, but the changes feed is good enough.
This is a real gap btw, and scanning becomes painful and expensive for larger enterprises especially if you have to do this at a fast clip.