title: How to share plain text to facebook messenger from an android app
body: <p>I am trying to share a plain text to messenger app from my application using facebook sdk 4.x but I am not able to configure the contentUri for that, However when I send image it works.</p>
  
  <p>How to do this for plain text?</p>
  
  <pre><code>Uri contentUri = Uri.parse("android.resource://in.darpankulkarni.l33ttxtformessenger/mipmap/ic_launcher");
  // contentUri points to the content being shared to Messenger
     ShareToMessengerParams shareToMessengerParams =
          ShareToMessengerParams.newBuilder(contentUri, "image/png").setExternalUri(Uri.parse("https://montanaflynn-l33t-sp34k.p.mashape.com/encode?text=Hello+How+the+hell+are+you!&amp;mashape-key=AD8dVisiLdmshFoLegK2hzNoDQI4p1BDlshjsn50fOqenOnPY7"))
                          .build();
  
  // Sharing from an Activity
     MessengerUtils.shareToMessenger(
                  this,
                  REQUEST_CODE_SHARE_TO_MESSENGER,
                  shareToMessengerParams);
  </code></pre>
  
  <p>How to send plain text using above code?</p>