Updated chat demo to new social API