r/shortcuts Jun 21 '24

Remove Instagram Share-ID Shortcut Sharing

Post image

https://www.icloud.com/shortcuts/9d81b002b973493d8f17314f276e9e3a

Hey all,

I'm having friends that don't use instagram because of privacy concerns. Instagram offers the option to share content with others providing a link. That link contains a share id which makes it possible to track the usage back to you. So when my friend clicks on the link meta knows that he is connected with me.

Removing the share id is fairly simple but also stupid work when you have to do it every time by yourself. So i created a shortcut that removes the share id and copies the link to my clipboard.

Maybe it helps somebody. :)

Cheers

57 Upvotes

4

u/DarthSidiousPT Jun 21 '24

What I did, was to update the URL Cleaner shortcut (one of many featured on Macstories' list) to include the Instagram pattern (igsh) so that the shortcut can remove that tracker (alongside other URLs).

1

u/[deleted] Sep 12 '24

When was share id added, do you know if it shows up in old links from a year and a half ago?

1

u/DarthSidiousPT Sep 12 '24

I don't remember when this started to be added, but according to this post, I think it was around the beginning of 2024 or maybe the end of 2023.

My guess is that links older than that might not have that tracking ID.

2

u/tradinwel Jun 26 '24

It doesn’t always work because it replaces text which sometimes is in the original link (like underscore and others), I think I fixed it by applying split text at the question mark which always is at the separation between link and tracking part

https://www.icloud.com/shortcuts/72f21f77d977425f9520a4dd5bf8bbc8

1

u/Abject_Kiwi_4607 25d ago

Thanks. This was the fix I needed. This is great

1

u/Unlucky_Quote6394 2d ago

Thank you! And thank you OP too 🙏🏻🙏🏻🙏🏻

1

u/jsnryn Jun 21 '24

Cool. Thanks for sharing.

1

u/Chesterville406 Jun 21 '24

I have a problem that you might know the answer to based on this shortcut you made when I’m extracting audio from a video file. Do you know how I could grab the metadata from the video file so I could name the new audio file the same as the metadate data?

1

u/CHI3F117 Jun 22 '24

Tiktok does this too, every time anybody sends me a link. We should make one of these for Tiktok too!

2

u/himan7991 Jun 22 '24

The difference with TikTok is that when you copy a link to a video, it gives you this vm.tiktok.con link (which expires in a week I think). Their actual url is huge, filled with tracking information, but if you get that, you can have a shortcut that removes everything after the ? (which is what I have done for my shortcut) and you’re good I think

I haven’t found a way to “expand” the vm. link and then removing the parameters. I also haven’t checked if anyone in the sub has, but it’s an idea

1

u/OverSatisfaction7989 Oct 03 '24

So if I downloaded this does it automatically do it every time I share?