Here is the work I did with integrating the inContact API with WordPress. This plugin creates a chat box that customer service can use to chat with customers through their WordPress site.
It was a pretty fun project and my first experience with oAuth2. The basic strategy I took was to look over the API’s and see how I could max out the functionality since I was not given a lot of requirements for this project. inContact offers their own version of a chat box which I could have iframed in but it wasn’t responsive and I wasn’t a huge fan of how it looked so this is an alternative that is directly on your site.
If I were to do this project again and was given a bit more time I think I would have for sure set up some sort of websocket for the project (apposed to the long polling approach I took) and probably would have utilized a frontend framework like backbone.js. I’ll probably re-write this and publish the plugin for other people to use with the inContact later on.
If you would like to take a look at the code it here on my github.