How to get Google Plus Notifications count?

2019-07-17 11:47发布

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.

2条回答
The star\"
2楼-- · 2019-07-17 11:49

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.

查看更多
混吃等死
3楼-- · 2019-07-17 11:56

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

查看更多
登录 后发表回答