Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Passing caption to Instagram with Android Intent Stopped Working?

I used to send an image to Instagram on Android from my app using this code :

shareIntent.setPackage("com.instagram.android");
shareIntent.putExtra(Intent.EXTRA_TEXT, caption);
shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(tempFile));

With the latest version of Instagram the caption isn't working anymore.

Does anyone know if this is a bug or perhaps another extra is being used.

Thanks.

like image 604
Steven K Avatar asked Jul 29 '15 22:07

Steven K


1 Answers

Looks like this feature has been removed... http://developers.instagram.com/post/125972775561/removing-pre-filled-captions-from-mobile-sharing

Here is a good way to help your users: Instagram caption

like image 87
MarcSB Avatar answered Oct 21 '22 05:10

MarcSB