title: How to use Facebook Messenger API?
body: <p>I am writing a java application in which I need to access my chat history (chat messages between me and another Facebook friend). I have looked at 
  <a href="https://stackoverflow.com/questions/2022336/how-can-i-use-facebook-java-api-in-my-application">this link</a>, but it seems outdated since I have noticed that Facebook changed his messenger API significantly. I was wondering if it is still possible to access my message history via java.</p>
  
  <p>p.s. I found a good Facebook Graph API called restfb. But I was not able to find such an API for chat messages.</p>