Ensure there some "liked favorite" comments before starting.
We suggest you show the contact 1st name and date as a minimum but you may also want to show last name and company name. There are options to include the question as well as the answer when needed for context. We suggest a separate page to easily track views, see the CEO Juice page here.
Streaming to your website:
**Please right click on any image to enlarge**
There are two options for getting liked Survey Comments to use on an external site:
This provides the most flexibility with regards to how it’s displayed, since the web developer on the Customer’s end would query the data and do their own formatting.
The url for the json feed is : https://www.ceojuice.com/Alerts/surveyresponses/likedposts
It expects two parameters and both are required.
**CustomerNumber and AuthKey, values for both will need to be provided to each Juice Customer manually. Email us at email@example.com for yours**
They can be passed as querystring parameters:
Or in the http header (example below in the code samples)
These show how to get the data (not how to format/display it)
Both examples do the same thing, just demonstrating how to pass the parameters either on the querystring or as header values:
C#,… Windows Forms or ASP.NET
$posts = file_get_contents('https://www.ceojuice.com/Alerts/surveyresponses/likedposts?CustomerNumber=XXXXX&AuthKey=XXXXXXXXXXXX');
// do something w/ $posts here....