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.
Share to Instagram feed
Moderator: Martin
- tsolignani
- Posts: 187
- Joined: 12 Jan 2019 11:53
- Location: Vignola, Mo, Italy
- Contact:
Re: Share to Instagram feed
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 :
Replace the TEXT and STREAM with your image label and path.
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");
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
- tsolignani
- Posts: 187
- Joined: 12 Jan 2019 11:53
- Location: Vignola, Mo, Italy
- Contact:
Re: Share to Instagram feed
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.
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.
- tsolignani
- Posts: 187
- Joined: 12 Jan 2019 11:53
- Location: Vignola, Mo, Italy
- Contact:
Re: Share to Instagram feed
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/
https://developers.facebook.com/docs/in ... o-stories/
Re: Share to Instagram feed
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.
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 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
- tsolignani
- Posts: 187
- Joined: 12 Jan 2019 11:53
- Location: Vignola, Mo, Italy
- Contact:
Re: Share to Instagram feed
Thank you, I didn't know that.
I'll try and maybe I'll use in other uses scenarios.
Thank you.
I'll try and maybe I'll use in other uses scenarios.
Thank you.