Reference code for Jive API ver 3.3