title: Android intent share to share a video url on facebook
body: <p>On my android app, I want to share a video url on facebook, i've tried two ways. One:</p>
  
  <pre><code>Intent shareIntent = new Intent(Intent.ACTION_SEND);
                      shareIntent.setType("text/plain");
                      shareIntent.putExtra(Intent.EXTRA_TEXT, videoPathURL[position]);
                      shareIntent.setPackage("com.facebook.katana");
                      activity.startActivity(shareIntent);
  </code></pre>
  
  <p>This first way only share on facebook a link like text "https://..." so you can click and open a new tab on browser that will play the video.</p>
  
  <p>Second:</p>
  
  <pre><code>Intent sharingIntent = new Intent(Intent.ACTION_SEND);
                      sharingIntent.setType("video/*");
                      Uri uri = Uri.parse(videoPathURL[position]);
                      sharingIntent.putExtra(Intent.EXTRA_STREAM, uri);
                      sharingIntent.setPackage("com.facebook.katana");
                      activity.startActivity(sharingIntent);
  </code></pre>
  
  <p>This one doesn't share anything.
  Anyone have an idea to solve this ?
  I want the video to be displayed on facebook like a video and not like an URL.</p>
  
  <p>Is it possible ? Or my only option is sharing the url like so ? Please help me with this</p>
  
  <p>Thanks in advance</p>