How to get Google Plus Notifications count?

霸气de小男生 提交于 2019-12-24 03:31:33

问题


I'm developing a Google Chrome extension and I want to retrieve Google+ notifications count for current user, in a script running in the background. Is it possible? I studied the Google+ APIs at https://developers.google.com/+/api/ but it seems not supported yet.

How is it possible to retrieve the count value anyway? I tried with a (cross-domain permitted) AJAX request, but the notification value seems generated at runtime, in JavaScript.


回答1:


You're correct that there's no way to access the notifications or the current notification count from the official API. Since scraping pages is against the developer policy, and results in really brittle integrations, I'd recommend against trying to reverse engineer it.

A request for this API is being tracked in the platform issue tracker. If you star the issue you'll be notified when it's updated.




回答2:


there is no way to get notifications from google + api.



来源:https://stackoverflow.com/questions/10499367/how-to-get-google-plus-notifications-count

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!