Free up to 1MM monthly messages. No credit card required.
On August 1st, GoInstant announced the shutdown of their service as of August 31, 2014. PubNub is here to help ease your transition by providing you tools to migrate from GoInstant to the PubNub Data Stream Network. With GoInstant closing their operations in less than a month, we, here at PubNub decided to migrate some of their widgets to work with PubNub.
Take a look at our GoInstant-to-PubNub conceptual translation guide for migrating developers here, or an overview of our migration tools here.
In this tutorial, we migrated the GoInstant chat widget, providing a seamless transition for users using GoInstant to power their real-time chat. PubNub currently provides 50+ SDKs, so you can choose one that you are most comfortable with. Additionally, our APIs are simple to use and you can use it for live dashboards and streams, presence, collaboration, second-screen synchronization and machine-to-machine signaling.
With this chat migration, PubNub enables you to continue to provide real-time chat. In this blog, I’ll walk you through the steps of the migrating from GoInstant to PubNub.
The aim is to build a simple chat application using PubNub. At PubNub we use publish and subscribe keys to initialize an instance of PubNub.
Initialization in GoInstant, on the other hand, requires you to connect to a url using to access and store data for your app.
Once you initialize, a user will be able to choose a username and a chat room (channel). The username for a user can be set using uuid during initialization.
In this example, I won’t cover the authentication required for using the GoInstant chat application. This can be easily added to your simple chat using PubNub Access Manager (PAM) which provides fine grain Publish and Subscribe permissions down to person, device or channel. Sending and receiving messages uses ‘pubnub.publish() and pubnub.subscribe()’ as shown below:
Overall, you need just ten lines of code to build a chat application with PubNub. Different services like login, logout and authentication can then be added to it based on your requirements. We hope that this tutorial made your transition from GoInstant to PubNub that much easier!
A Notice of Privacy Practices (NPP) is one of the requirements of HIPAA and helps patients understand their personal data rights.
HIPAA covered entities must follow the five technical safeguards to achieve HIPAA compliance and prevent data corruption.