title: How to open facebook messenger chat window using app-scoped id in android
body: <p>I can get a app-scoped user id with graph-api in my application.
  Then, how to open facebook messenger chat window using app-scoped id in android.</p>
  
  <p>We can open facebook messenger chat window using global-facebook-id(using intent and uri). </p>
  
  <pre><code>Uri uri = Uri.parse("fb-messenger://user/");
  uri = ContentUris.withAppendedId(uri, Long.parseLong(peopleId));
  Intent intent = new Intent(Intent.ACTION_VIEW, uri);
  startActivity(intent);
  </code></pre>
  
  <p>But, it is not possible to get global-facebook-id using app-scoped-id. </p>
  
  <p>Then, I want to know how to open facebook messenger chat window using app-scoped-id only. I don't need to send a private message just opening is all I need.</p>
  
  <p>Thank you for your reading!</p>