Page 1 of 1
Share to Instagram feed
Posted: 08 Sep 2019 16:15
by tsolignani
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.
Re: Share to Instagram feed
Posted: 08 Sep 2019 17:01
by Desmanto
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.
Re: Share to Instagram feed
Posted: 28 Nov 2019 13:29
by tsolignani
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.
Re: Share to Instagram feed
Posted: 28 Nov 2019 13:41
by tsolignani
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/
Re: Share to Instagram feed
Posted: 28 Nov 2019 18:31
by Desmanto
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.
Re: Share to Instagram feed
Posted: 29 Nov 2019 12:10
by tsolignani
Thank you, I didn't know that.
I'll try and maybe I'll use in other uses scenarios.
Thank you.