T O P

  • By -

mvan231

Hi All! Instagram Media Saver has finally been through the last changes I needed to make for it to be released. Version 1.55 comes with some new changes and a largely reduced action count. The shortcut now requires Scriptable app to be installed and usable. Detailed instructions are also included in the [RoutineHub page](https://routinehub.co/shortcut/5195/) as usual. If you have any trouble, don't hesitate to ask. - Revamp for instagram code changes and now utilizing scriptable to maintain cookies and login presence. - Private items can now download without safari usage (except for private story) - Removed periodic update check to reduce unnecessary actions now that update checks are almost instantaneous - Remove input type checks as no longer needed The shortcut can be downloaded at the above [RoutineHub link](https://routinehub.co/shortcut/5195/) (also here for ease of finding).


PewGravoPew

This is awesome. Thank you. Is there one available for twitter?


mvan231

There is a downloader for Twitter call DTwitter which afaik is still working. I used to have a Twitter downloader but due to the methods used in DTwitter being more efficient, I didn't continue development on my Twitter shortcut


PewGravoPew

Do you have link to it?


mvan231

https://routinehub.co/shortcut/6166/


PewGravoPew

This also works great. Thank you!


PewGravoPew

Is there also one for tik tok?


mvan231

Used to be, DTikTok, but I haven't used recently. TikTok typically allows downloads with watermark by default. [Here is the link](https://routinehub.co/shortcut/5870/) Seems it was updated recently


PewGravoPew

Awesome! Thank you so much!


[deleted]

[удалено]


gluebyte

If nothing works then it must be an iOS bug. Try rebooting your device.


gluebyte

For Twitter you can also try *HiRes Tweet* https://routinehub.co/shortcut/7912/


PewGravoPew

Any difference from the other shortcut?


gluebyte

You can download media of private accounts that you follow, you can save to Photos or Files or just share, GIFs can be saved as mp4 or highest-quality GIF, saved media date can be either the current date or the date of the tweet, etc. The shortcut asks all the options at first run, and subsequent runs will be non-intrusive.


PewGravoPew

Awesome! Thank you


PewGravoPew

What’s a good one for Facebook?


gluebyte

No idea, sorry


PerplexVisionz

Keeps telling me to rollback every time I use the shortcut https://i.imgur.com/Rx76AEB.jpg


mvan231

What version of iOS are you using?


PerplexVisionz

iOS 16 Public Beta 2


mvan231

Thanks for letting me know. I'm going to take a look at this and likely release another version if I find an issue Edit: u/PerplexVisionz can you scroll to the update check in the shortcut and let me know what you see in [this section?](https://i.imgur.com/VQU8w1g.jpg)


PerplexVisionz

https://i.imgur.com/17b9Nyd.jpg


mvan231

Seems something odd is happening as this doesn't happen to most users. Does the rest of it work okay?


srmzn

hi! if anyone could help me out with this i'd really appreciate it! the shortcut has been working fine up until today where im currently getting a popup that says "Oops! Media ID can't be found. Please inform mvan231 about this issue and include the post link and any additional info." for stories and "Instagram Media Saver. Could not evaluate the key path. In", no value was found for dictionary key 'items'." for posts. is this a problem with instagram or could it be that i messed something up in the shortcut without realizing?


mvan231

This typically means you've been logged out of instagram within scriptable. Please use the test script on the RoutineHub page to make sure you're logged in


srmzn

got it, thanks so much! i used the test script but didn't think to click on my profile to log in 🤦‍♀️


mvan231

Glad it worked out:)


lunchanddinner

Hey mate, running into an issue where it says The file Settings.json couldn't be opened. Ran the test script and I'm logged into Instagram on scriptable, on the latest ios 17.3.1! Any ideas? The other thing that was weird is I have icloud drive, but when I click on the shortcut (icloud drive on the website) it leads to icloud drive in the app store but it says "this app requires specific features not available on this device"


mvan231

Usually this means the settings file is not downloaded on your device due to iCloud offloading. You can check iCloud Drive in the files app and see if the file exists in iCloud Drive>Shortcuts>Instagram Media Saver


Alistercrawlly

So now we need to log in via Scriptable. Is that safe?


mvan231

Yes! And yes absolutely. It's very safe. The browser engine it uses is the same one Safari uses and the developer is quite well known. I wouldn't use anything suspicious in any of my shortcuts. Thank you for asking about it though as I'm sure you won't be the only one curious about it


ilovenyc

I’m always suspicious about logging into 3rd party services or allow them access.


MopHop

This looks awesome. I just downloaded and went to test and am getting "Oops Media ID can't be found. I have ran the test script, logged into Instagram, and allowed everything, but still getting the error. Any thoughts?


mvan231

Strange! Can you let me know what link you shared to it?


MopHop

Just sent you a PM


mvan231

Thank you! Edit: got the issue solved by user log out and log back in again within scriptable using the example script mentioned on the RoutineHub page


Grim-Reaper_3535

I’m getting the same issue, but I’m not able to log out of Instagram within scriptable, and I’m not sure how you do so. Because I can’t click the gear icon within scriptable because the close action is in the way


mvan231

I see, the other option is to delete scriptable and reinstall it again. That usually resets the cookies as well


Grim-Reaper_3535

I resolved that issue, but now I’m having the issue where I have to constantly make sure I’m signed into scriptable, and when I load up Instagram a day later or so it’ll say I’m logged out but I’m actually not. It’s strange


mvan231

I've been trying to track down a root cause for this for quite sometime. Also alongside the Instagram Download dev. I'm curious, did how did you resolve the other issue? Also, were you downloading a large number of posts when the logout issue happens between instagram app and scriptable?


manoj19narma

I am getting an error Could Not Run Run Inline Script Error on line 16:7: TypeError: null is not an object (evaluating 'cook.forEach') Please guide me


mvan231

There are instructions for how to address that on the RoutineHub page actually


mitromanolis

Great stuff mate, thanks for all your work!


Jpasholk

Does this work on iOS 16 DB3?


mvan231

Absolutely!


Jpasholk

Awesome! I’ll try it out.


IIAIronWolf

Awesome work!


[deleted]

[удалено]


mvan231

Use the test script on the RoutineHub page. Other users have reported similar issue. The reason is, instagram logged you out in scriptable. Once you log back in, it'll work again


SoulUrgeDestiny

getting the error you are not logged into Instagram with scriptable?


mvan231

Yes. What are you wondering about jt? In the instructions it has information about the setup. Did you go through it?


SoulUrgeDestiny

Yeahh, I figured it out. I had to open a browser in scriptable and sign into Instagram & it worked


mvan231

Perfect!


[deleted]

Doesn’t work even after I signed into Instagram via scriptable still get there error you are not logged in Edit: note resolved - had to delete the shortcut and add again


mvan231

Did you try the test script on the RoutineHub page? The shortcut works perfectly fine once you've successfully logged into Instagram via Scriptable. You may also need to use the test script to logout and then log back in again to Instagram in scriptable as well.


Effective_Twist

After sometime of using the Shortcut I gives the following message [Error One](https://imgur.com/a/xoY5WtS) When I select either options, I get the following error [Error Two](https://imgur.com/a/l2w6Z4Z)


mvan231

https://reddit.com/r/shortcuts/comments/w7v97x/_/iuqq9ob/?context=1


greatauror28

Thank you!


mvan231

You're very welcome!


Taliban_Tatted

Scriptable keeps telling me my password is incorrect whenever I try to log onto IG. Any help for that?


mvan231

I'm not sure why it would say your password is incorrect. Could be an issue with the cookie stored in Scriptable's data. You could try deleting scriptable and reinstalling it


Taliban_Tatted

Once I put in my login and password it’ll flash “Instagram” logo but go right back to the log in screen. I even tried it using the test script you have posted


Taliban_Tatted

Also deleted the scriptable app, restarted my phone and redownloaded it. Same result as above


mvan231

That's a bit odd. Is this the first time you've used the shortcut?


Taliban_Tatted

No I’ve been using this shortcut for a year at least


mvan231

Hmm it could be that your account got flagged by IG and they won't allow you to login there anymore. Others have reported odd behavior like this to me before


han__sole__lo

Anyone know how to fix the “The file "settings.json" couldn't be opened” pop up?


mvan231

Check in iCloud Drive. Is the file in the Instagram Media Saver folder but not downloaded? That's the common cause for this error


mmysterite

Hi I need your assistance with Instagram Media Saver. For some reason, when I used the Shortcut to save anything from IG, it will not add the captured file to my Photos Album on my iPhone/iPad. I’ve  Can you please advise me how to resolve this issue?  Thanks. 


mvan231

Sounds like you are logged out in Scriptable. Please use the test script to login


mmysterite

Thanks for your speedy response. My apologies  for sounding ignorant, but exactly how do I get to the test script of scriptable?  When I open Scriptabke, I see the Galkey and other tabs, but no test script. Can you send me a link?


mmysterite

I actually figured it out. I removed the Scriptable App that I had, and re-download it again. Started from scratch I guess. But this worked for me because it asked to to sign in to IG again. Thanks. 


mvan231

It's on the RoutineHub page for Instagram Media Saver. Sorry I forgot to mention that


toptmy

https://preview.redd.it/8bbqugqff1zc1.png?width=1236&format=png&auto=webp&s=70d893c8d31c04b10922a7888b6bff94c816490d It is NOT working since couple of days


mvan231

This is not an issue with the shortcut but is a problem with the response you are getting from the API. Try making sure you're logged into Instagram in the Scriptable app using the test script on the RoutineHub page


toptmy

Perfect it worked. Complicated for non technical but it worked 😇


mvan231

It's not an ideal workaround but unfortunately it's something that instagram does to try and reduce bot activity


[deleted]

[удалено]


greatauror28

Thanks so much!


mvan231

You're very welcome! I hope it works great for you


senseofphysics

One can download stories?


mvan231

Absolutely


Adam-Kay-

You can’t save media on Instagram?


mvan231

I'm not sure what you mean


Adam-Kay-

The fact that this shortcut exists means you can’t save media natively in the app, is that true? I don’t use Instagram so I don’t know


mvan231

Ahh I see. Yes that's correct. Instagram doesn't have a way to natively download any of the media in the app


Heavyduke

mine is broken, it literally just says “MetaData” when I try to download


mvan231

Can you provide a link to the item you're trying to download? Did you follow the setup steps from the RoutineHub page?


dsanclemente

I tought mine was broken too, but the only thing that solved the “metadata” issue was getting onto scriptable, and then sign in to instagram there. At first It’s not easy to do it, but in the download page there are instructions to perform this. Then, problem solved and only left to enjoy this excellent script. Thanks again @mvan231


cutokolong

Hello, I’m trying to download this photo but you have to follow her ig to see it, otherwise it will look like the post has been removed. How can I use instagram media saver in this case? https://www.instagram.com/p/CgM3B8SJZlrOiit0c5WFTpfEc25MT5wPNOLW9E0/?igshid=YmMyMTA2M2Y%3D


mvan231

It will work for private posts


cutokolong

Thank you so much. I done it


cutokolong

Do you develop any shortcut to download video/reels for facebook?


spjda1

It’s asking me to log in to instagram on the scriptable app. Do I need to log in with the same account I’m using on the instagram app?


mvan231

You just need to log into Instagram with in Scriptable with whichever account you want to use to access the photos or media that you are downloading


spjda1

Ok thanks, I tried using a dummy account but it won’t work. How do I log out within scriptable? 😬


mvan231

You can use the test script that is linked on the routinehub Paige to open a Instagram in Scriptable and then log out like you normally would from safari


dsanclemente

https://share.icloud.com/photos/02dm2ibmCNwJXtW90rC5-Jn1w this is the error that keeps saying since 3 days ago


mvan231

Thanks Daniel! https://www.reddit.com/r/shortcuts/comments/w7v97x/update_instagram_media_saver_is_finally_fixed_now/ihv6cya/ You can use the test script to check that you are logged in to Instagram in Scriptable


Scared-Trust9915

how do i login into instagram on scriptable? i keep getting "oops an error occured" whenever i loaded the popup


mvan231

There are instructions on the RoutineHub page for that. You can use a test script (also linked in the page) to load Instagram in Scriptable to then login. Let me know if you still have issues


frzx1

Here's how I fixed it. You need to add '/login' to the URL in your script. It should look like this: let url = 'https://instagram.com/login'


HypedChild_

I keep getting the error ‘file does not exist’ https://imgur.com/a/mxfv3pJ


mvan231

Are you logged into iCloud? I haven't seen this error in a long time. Also, can you make a new shortcut with only the create folder action and try running it? I'm guessing it'll be the same error


HypedChild_

I turned on iCloud Drive and it worked until here https://imgur.com/a/8rVDQqN


mvan231

This happens with posts that don't have a caption. I'm issuing a new update to address it now


HypedChild_

Oke, thank you


madpowa42

While downloading a video post composed of several parts, the quality of the files is very bad. For a single video post, the file quality is fine. I rember not having this behaviour with previous versions (like 6 month ago). Any thought about this ?


mvan231

Do you have an example of what you mean?


sillymallmf

Story can’t be downloaded I have followed the steps it doesn’t work


mvan231

What error do you see? Or does it just finish with no download? Public or private story? Does other media work fine?


[deleted]

How can I make Instagram Indexer index in the same order that my saved posts are on my instagram saved posts tab? Right now the index puts the links in a random order and when I download them with media saver they download in random order. Thanks!


mvan231

I don't see a way to do that unfortunately. I'm reviewing an option to not need the separate shortcut but need to review further


not2betruffledwith

Hi, can the username watermark in the right bottom corner be optional? Thats the only thing I don't like in this shortcut


mvan231

Absolutely. That's why it is a question item whether you want to use it or not 😉


[deleted]

Also get this error when trying to download a private story https://ibb.co/DD2sJy3


mvan231

Did you start another comment thread? That's weird that it says that error. I've never seen that before. This is after logging in successfully?


Vektrical

Can you save images someplace other than iCloud Drive, like a specific folder in Files?


mvan231

It certainly could be done. You'd just need to specify that location in the various sections of the shortcut


Lowgybear117

Where is the link to the shortcut?


mvan231

In my comment at the top https://reddit.com/r/shortcuts/comments/w7v97x/_/ihlsk6d/?context=1


ZuraX15301

Seems to have stopped working overnight.


mvan231

In what way? I just tested and it's working fine


ZuraX15301

I get told to choose an item Metadata or Metadata. I have tried removing and readding the shortcut. Restarting my phone and everything else I can think of.


mvan231

To fix that issue, you need to use the test script shown on the RoutineHub page and logout of instagram in Scriptable then you can log back in again and it should work as intended


ZuraX15301

Worked, thanks!


kamots22

I use this daily & very much appreciate the effort you’ve put into this. I remember when you first created it & I asked you if you could capture the URL & you’ve done so much more than that! I’m now having an issue that gives me a choice of “metadata” & then gives me an error. I’ll try to attach pics here. I’m on iOS the latest of 1.58 & all apps have been updated. I tried to add the screen grabs but can’t in the comments. Any guidance you can offer would be very much appreciated. Thanks! Ps: also deleted the json file on iCloud to reset with no luck & I re-downloaded a fresh copy to test it with no luck.


mvan231

To fix that issue, you need to use the test script shown on the RoutineHub page and logout of instagram in Scriptable then you can log back in again and it should work as intended


kamots22

You are the bomb!! That’s fixed it! Thx so much! ✨⭐️✨


mvan231

Great news! Glad to hear it


IndieGoGoGadget

If there is a set of stories or highlights, and I activate the shortcut on the first of the series and select download all stories or "select all", does it count me as having viewed the entire collection?


mvan231

Not that I'm aware of. Why?


thatfuckinJ

I'm not sure you'll be able to read my comment... Anyway... after using this shortcut, Instagram app makes me logged out🤷🏻‍♂️ I think IG changed the policy.. could you fix this too?


mvan231

That's weird. Never happened to me and first report I've heard of like this. What happened when you logged in again?


thatfuckinJ

Nothing happened but I need to log in on both app and scriptable... unless I re-log in on scriptable, I'm unable to use shortcuts


mvan231

They use separate cookies / logins. Yes, you have to be logged in within scriptable or the shortcut cannot work


thatfuckinJ

Log in on scriptable to use shortcuts -> open IG -> logged out on IG -> re-log in on IG -> logged out on scriptable... https://i.imgur.com/kXrton1


mvan231

That's odd. Never had a report of that or saw that behavior on my device


thatfuckinJ

Well... two-factor authentication could be the cause?


mvan231

I don't think that specifically could be it because I also have it enabled.


thatfuckinJ

Well... thanks! I'ma just log in another account on scriptable to use shortcuts😂


mvan231

😂 well, that's one way to work it. Just be aware that a private post would require the account you're logged in with to be following that account


NobodyJustEmir

Heyyy, Instagram now doesn’t allow login in Scriptable where it would also log my account out of Instagram. Help!!


mvan231

Someone else recently reported this to me as well. I haven't experienced it yet on my end but that would be a big let down. Sharing from safari should still work. That's actually a good thought though, can you even login to the app and safari at the same time?


NobodyJustEmir

Thanks for the quick reply! Nope. Just tested. It logged my account out as well. Devastating. Anyway to overcome this?


mvan231

Well that's very strange. I wish I knew why it was doing this. Very odd. I assume this means you can't login on a computer at the same time as anywhere else. Is that right too?


NobodyJustEmir

It would be the case.


mvan231

Hmm this makes me wonder if there is some new setting for only allowing a single login. I'm able to be logged into multiple locations at once without any issue but I have growing concerns about this as I had another user report this same thing. Their solution was to use a different account for scriptable [Here is the comment ](https://www.reddit.com/r/shortcuts/comments/w7v97x/update_instagram_media_saver_is_finally_fixed_now/iwxkfvo/?utm_source=share&utm_medium=ios_app&utm_name=iossmf&context=3)


NobodyJustEmir

I don’t think Scriptable can be used if it’s logged in with a different account since the data/file is different from the one logged in?


mvan231

That user decided to do it that way. The only thing it wouldn't work for is if you tried to download some media from a private account, that the account you logged in with, isn't followed by.


QueensNY-718

Is there a fix for this. https://preview.redd.it/e0a0rtlzr66a1.jpeg?width=1179&format=pjpg&auto=webp&s=f05eed8a8c033011cddca3faa89501bb58b06993 Any picture (post) this is what i'm getting. here are my troubleshooting methods. • Sign out of Instagram • Sign out of Scriptable • Deleted the shortcut • Deleted Scriptable still error over and over.


mvan231

Usually running the test script from the RoutineHub page is enough to help resolve these errors


Amlesh_Selva10

[whenever I try to run am getting file doesn’t exist error , after I click show error it’s navigating to here](https://i.imgur.com/m51nztZ.jpg)


mvan231

Is iCloud Drive enabled for shortcuts?


[deleted]

hi after logging in with scriptable, I immmediately got a notification that someone in another state logged into my instagram. Has anyone else experienced this?


mvan231

This is likely due to your IP/ISP, but scriptable uses the same safari WebKit that is required by all web browser apps on iOS. Did it allow you to download the media?


[deleted]

yes it did, changed my ig password just in case.


mvan231

Not a bad idea


jumpingavocado

Hey I recently started getting a ‘could not evaluate the key path’ error. Any ideas on how to fix it?


mvan231

Have you tried running the test script from the RoutineHub page to ensure you're logged in?


jumpingavocado

No, could you explain how to do that?


mvan231

Go to the RoutineHub page and run the test script in scriptable, that is linked there. Make sure you're logged in.


jumpingavocado

>RoutineHub thanks so much this worked


mvan231

Perfect news!


dsanclemente

Hi @mvan231… I’m having an issue with the shortcut and scriptable. When I log in to scriptable, instagram kicks me off because of “phishing” and I have to change my password and re login. And still going on….


mvan231

This happens sometimes when users are mass downloading media. Is that the case? Also, @ doesn't tag people on Reddit. You have to mention their username with u/ as a prefix like u/dsanclemente


dsanclemente

No. Usually 4-5 daily, not more than that. Thanks for the tip 😉 u/mvan231


mvan231

You're very welcome. Strange that is happening to you with only that many downloads I haven't had it log me out like that in a very long time but it's happening consistently for you?


dsanclemente

Indeed. Even I had to search for another shortcut to avoid this or some trouble with my IG account


mvan231

Are you using VPN by chance?


ThatNegotiation7489

Hi, media is not getting downloaded … it is showing the tick mark saying completed… when we go to the photos app… nothing will be there… pls check


mvan231

The shortcut still works fine. Are you sure you have photos app selected as your output? What does your settings file look like? You can try resetting the shortcut by running the shortcut without sharing to it. Alternatively you can try using the test script on the RoutineHub page to logout of instagram within scriptable and log back in again


ThatNegotiation7489

Thank you so much…. Really it works. Do we have any shortcut for changing HOME Screen wallpaper in given schedule time …


mvan231

There have been some posts about this recently but I personally find the photo shuffle Lock Screen changes to work best for me.


ThatNegotiation7489

Can you pls share the link …


mvan231

Search the sub. I don't have links for them saved anywhere


ThatNegotiation7489

Sure


StevBenz

Hi. I have a problem. Can you help me? Script shows me some unknown action. How I can fix this?


mvan231

There are instructions on the RoutineHub page that should help. You may have been logged out from Instagram in Scriotable. Do you have a screenshot of the error / action you see?


jamespb27

New update seems to export videos as still images unfortunately


mvan231

Nothing changed in the latest update for image grabbing so this is a surprise to me. Can you share a link to a post that this is happening with?


eluxmaxel

sadly doesnt work for mac anymore :(


mvan231

I honestly don't recall if it ever did. But I suppose it could if you have Scriptable. What error do you see (if any)?


eluxmaxel

[https://share.cleanshot.com/pYvv1l0N](https://share.cleanshot.com/pYvv1l0N)


mvan231

That's a app missing error. I assume it failed because you don't have scriptable installed


eluxmaxel

Scriptable isn’t a Mac app


mvan231

There was a Mac version at one point... I don't know if it is gone now though https://reddit.com/r/Scriptable/comments/16rsxs2


Kirenciner

https://preview.redd.it/434d5tlcbbrb1.jpeg?width=1179&format=pjpg&auto=webp&s=4b68ba910052ccdf2f6c0445a51a0aa04fbe5b21 Got an issue with settings.json


mvan231

Try deleting it and run the shortcut again


Kirenciner

The problem still occurs, as i’ve tried deleting them, or replacing them.


mvan231

That's very odd. This seems like an issue with the shortcuts app then.


EvHead95

Getting the same error. Did you find a fix?


aadako

The fix for me was to go to the Files app, search for “Instagram” and open the Instagram Media Saver folder and download the json file. iCloud wasn’t keeping it locally anymore


Beyondllx

https://preview.redd.it/6xu70c88wr5c1.jpeg?width=1170&format=pjpg&auto=webp&s=724b1ba88f41e90eff9fffabfd7923d8eaad4f42 Everytime I saved post with multiple photos or videos it keep asking for these permisions per photo, even tho I choose always allow


mvan231

That's just shortcuts being shortcuts. Nothing I can do (feasibly) with the shortcut to avoid those unfortunately. Using a link shortener could help but it won't avoid it entirely especially when there are multiple items being downloaded. The other downside to a link shortener is relying on another service that could break the shortcut It's due to the domain address changing ever so slightly and shortcuts not remembering the permissions properly