Google Cloud Messaging for Chrome (GCM) is a service for signed-in Chrome users that helps developers send message data from servers to their Chrome apps and extensions.
Google Cloud Messaging for Chrome (GCM) is a service for signed-in Chrome users that helps developers send message data from servers to their Chrome apps and extensions. The service is intended to wake up an app or extension, and/or alert a user. For example, calendar updates could be pushed to users even when their calendaring app isn't open.
The service handles all aspects of queueing and delivering messages. To use the service, you must agree to the Google Cloud Messaging for Chrome API Terms of Service.
Messages must conform to these constraints:
Maximum payload length: 256 bytes
Maximum subchannels: 4
Maximum API requests per day: 10,000
Google API client libraries
You may use the REST interface defined here to access Google Cloud Messaging for Chrome from your application. We also offer Google API client libraries for a number of popular programming languages that can be used to access the API. For more information, see Google APIs Client Libraries.
Insert method
The gcm_for_chrome.messages.insert
method sends a message to your app or extension user.
Authentication
Authentication is required to send messages to users. Using OAuth 2.0 for Web Server Applications describes this in greater detail.
URL
The URL used to obtain access to the GCM for Chrome service: https://accounts.google.com/o/auth2/auth
.