How do I download image from a URI?

General discussions about Automagic and automation in general

Moderator: Martin

Post Reply
maxxyypoo
Posts: 23
Joined: 28 Jan 2015 08:47

How do I download image from a URI?

Post by maxxyypoo » 20 Apr 2016 02:54

A notification displayed gives me the URI of background of that notification how can I download that to a file? For example when new photo posted on Instagram I have a push notification to my phone and then I wanna save that picture (it's a background picture of that notification) how do I do that? The push notification in IG is built in now I gatta save the background to image file somehow.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: How do I download image from a URI?

Post by Martin » 20 Apr 2016 19:11

Hi,

You could try to load the URI using action Init Variable Image File. The action supports http, https, content and android.resource URIs.

Regards,
Martin

maxxyypoo
Posts: 23
Joined: 28 Jan 2015 08:47

Re: How do I download image from a URI?

Post by maxxyypoo » 20 Apr 2016 21:06

Ok thank you I'll try (:

maxxyypoo
Posts: 23
Joined: 28 Jan 2015 08:47

A complete flow to extract image from Instagram notification

Post by maxxyypoo » 06 May 2016 20:47

Can anybody create a flow to extract a background image from a notification of Instagram? So as soon as a notification from Instagram (new post) comes in it saves the background image of that notification (the post image) as a PNG onto the device?? I can't figure it out :/

Post Reply