Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.
Mohamad Nour Chawich edited this page Apr 25, 2016 · 7 revisions

WikiAPI ReferenceNotificationsPusher

Pusher helps Shoutit clients get real-time updates about various events.

Pusher Libraries and Quick-start guides

Configuration

Environment APP_KEY Auth endpoint
Production 86d676926d4afda44089 https://api.shoutit.com/v3/pusher/auth
Development 7bee1e468fabb6287fc5 https://dev.api.shoutit.com/v3/pusher/auth
Local d6a98f27e49289344791 http://api.shoutit.local/v3/pusher/auth

Pusher Sequence

Pusher sequence

Steps

  1. api_client initiates the Pusher service using APP_KEY
  2. Pusher returns socket_id
  3. api_client subscribes to presence-channel1
  4. pusher_client asks api_server to authorize the subscription.
  • this call must include the Shoutit OAuth2 token in its headers. Check Pusher Libraries
  1. api_server authorizes the subscription
  2. pusher_clients completes the subscription
  3. Pusher returns a Channel object
  4. api_client binds Events of the channel object to callbacks

1: Check Pusher Channels and Events

Clone this wiki locally