Share to Instagram feed

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
tsolignani
Posts: 100
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: 2320
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), AOSP Extended v6.7 build 20191212 Official, Android Pie 9.0, Rooted.

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

Re: Share to Instagram feed

Post by tsolignani » 28 Nov 2019 13:29

Good afternoon.

Please forgive me, I forgot to follow up on this post.

Thank you, it worked!

Now I can share to instagram feed.

What I would like to do now is share to instagram story to.

I had managed to do it I don't know how but some days ago quit working, I guess with the new instagram app version.

Still, there is a way to do it, for other Android apps let users do, such as the gallery Samsung app.

So, is there anyone who made it? What should I try to do?

Any hint would be greatly appreciated. Thank you.

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

Re: Share to Instagram feed

Post by tsolignani » 28 Nov 2019 13:41

I found this documentation, but I don't know how to handle it in automagic. Thank you.


https://developers.facebook.com/docs/in ... o-stories/

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

Re: Share to Instagram feed

Post by Desmanto » 28 Nov 2019 18:31

The intent action has changed to com.instagram.share.ADD_TO_STORY

Try to install Intent Intercept and share from you gallery or media viewer to intent intercept. https://f-droid.org/en/packages/de.k3b. ... intercept/
See if instagram story appear there. If there is, then you can mimic all the extra uri there to feed it to IG story.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20191212 Official, Android Pie 9.0, Rooted.

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

Re: Share to Instagram feed

Post by tsolignani » 29 Nov 2019 12:10

Thank you, I didn't know that.

I'll try and maybe I'll use in other uses scenarios.

Thank you.

Post Reply