Share to Instagram feed

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
tsolignani
Posts: 48
Joined: 12 Jan 2019 11:53
Location: Vignola, Mo, Italy
Contact:

Share to Instagram feed

Post by tsolignani » 08 Sep 2019 16:15

Good afternoon folk.

Say I have an image saved on internal memory: is there a way to share it to Instagram via an automagic's flow?

I make some tries with start activity and intents, but always got an error (unable to load file).

Anyone else doing that with success?

Or any other way to reach the same goal?

Thank you.

User avatar
Desmanto
Posts: 1981
Joined: 21 Jul 2017 17:50

Re: Share to Instagram feed

Post by Desmanto » 08 Sep 2019 17:01

Usually it is using Start Activity with intent SEND.
Start Activity
Action : android.intent.action.SEND
Data Mime Type : Image/jpeg
Explicit Component
Package Name : com.instagram.android
Class Name : (leave blank, or choose & try each one)
Extras :

Code: Select all

putString("android.intent.extra.TEXT", "Test Image");
putUri("android.intent.extra.STREAM", "file:///storage/emulated/0/Download/Test.jpg");
Replace the TEXT and STREAM with your image label and path.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), Resurrection Remix Official 7.0.2 20190829, Pie 9.0, Rooted.

Post Reply