title: Youtube Live Stream Chat Messages
body: <p>I have been looking into getting messages from my live stream on youtube. I have a need to be able to process the chat in real time howver I have come to find a few issues.</p>
  
  <p>For starter and the main issue really is that the order in which the chat comes through seems to be oldest first. This is rather a problem as if I am trying to handle new chat messages in real time, as the stream goes on the new messages go further and further down the list.</p>
  
  <p>I must get next page keys which is a nightmare are the smallest page size i can requst from the api is 200 messages.</p>
  
  <p>Its making the load a lot more that it needs to be.</p>
  
  <p>Does anyone know how i might request the chat messages newest first or better handle the chat stream?</p>
  
  <p>Im using PHP to read the API and I can read the messages into a database but i still have to go deeper and deeper as the chat goes on rather than just pull the new ones off the top.</p>