title: Share image and caption to instagram via Android app
body: <p>I want to share my application image and application title to instagram via my android application.</p>
  
  <p>I have used below code for the same</p>
  
  <pre><code>            Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND);
              shareIntent.setType("image/*");
              shareIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
              shareIntent.putExtra(Intent.EXTRA_STREAM, getImageUri(SearchCategory.this, imagebitmap));
              shareIntent.putExtra(Intent.EXTRA_SUBJECT, "Subject");
              shareIntent.putExtra(Intent.EXTRA_TEXT, "YOUR TEXT TO SHARE IN INSTAGRAM");
              shareIntent.putExtra(Intent.EXTRA_TITLE, "YOUR TEXT HERE");
              shareIntent.setPackage("com.instagram.android");
              startActivity(shareIntent);
  </code></pre>
  
  <p>But this doesn't work. </p>
  
  <p><code>The instagram  application version is</code> <strong>7.11.0</strong>. </p>
  
  <p>Please help for the same.</p>