Chat samples not working

Did you get an OAuth token with the connect_chat scope and add that to the sample?