DogTracker Event Handler for PubNub BLOCKS
Pubnub BLOCK creation.
Step 1 :
Login to the Pubnub account with the valid credentials.
Step 2 :
Click the "CREATE NEW APP" by giving a name to your APP.
Step 3 :
Click on the newly created APP.You can see the Demo keyset for the new application created.
Step 4 :
Click on the Demo keyset and click on the Blocks (on the left side).
Step 5 :
Create a new Block by giving the block name and description to the block.
Step 6 :
Create the Event Handler by clicking CREATE button at the bottom.
Step 7 :
Give the Name of the Event handler, Channel to communicate with the block and the option of when block code should execute(Befor Publish or Fire) .
Step 8 :
Copy the block code in the text area from here, and save it. Update the Watson Visual Recognition API credentials on the code ( As per step 4 of "Watson Visual Recognition API" section in main README file)
Step 9 :
Click on the Start block button(top right) to start the block.
Your block code is now running.