These demos are designed to show high-level features of PubNub, and may omit error handling for clarity. As you create production-quality applications, please speak with us as we can help with code and architecture advice.
Samples in this repository are provided as-is
Description | Source Code | Hosted App |
---|---|---|
PubNub Presence and Presence State | code | Hosted App |
Scroll to Load History | code | Hosted App |
-
You’ll first need to sign up for a PubNub account. Once you sign up, you can get your unique PubNub keys from the PubNub Developer Portal.
-
Sign in to your PubNub Dashboard.
-
Click Apps, then Create New App.
-
Give your app a name, and click Create.
-
Copy the Publish and Subscribe keys and provide them to the sample app.
Replace the publish and subscribe key in the sample with your own key. Each sample will either run locally (load index.html
in your default browser), or will require you to install prerequisites and install.
Please fork the repository if you'd like to contribute. Pull requests are always welcome.