# Link shortener with Experimental column

**URL:** https://community.glideapps.com/t/link-shortener-with-experimental-column/32380
**Category:** Ask for Help
**Tags:** custom-code
**Created:** [September 27, 2021, 7:01pm UTC](https://community.glideapps.com/t/link-shortener-with-experimental-column/32380 "2021-09-27T19:01:08Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![Luther](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/luther/32/17929_2.png) [@Luther](https://community.glideapps.com/u/Luther)
#### Post date: [September 27, 2021, 7:01pm UTC](https://community.glideapps.com/t/link-shortener-with-experimental-column/32380/1 "2021-09-27T19:01:08Z")

</div>

Has anyone tried to use the experimental column to shorten the “Link to screen” links that are long…

I would like to be able to shorten links via API through the experimental column without having to do it manually everytime you have to shorten the links.  
My question is whether this can be done with the experimental code column or not…

I have not played around with this column and was around if anyone did try already and succeed or fail.  
@Manu.n @ThinhDinh…  
your inputs would be highly appreciated 🙏

---

<div class="post-metadata">

### Author: ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)
#### Post date: [September 27, 2021, 7:19pm UTC](https://community.glideapps.com/t/link-shortener-with-experimental-column/32380/2 "2021-09-27T19:19:42Z")

</div>

Hola @Luther

Check this out. [https://beautiful-trees-3500.staging.glideapp.io/](https://beautiful-trees-3500.staging.glideapp.io/)

Let me know if that’s what you are looking for.

---

<div class="post-metadata">

### Author: ![Luther](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/luther/32/17929_2.png) [@Luther](https://community.glideapps.com/u/Luther)
#### Post date: [September 27, 2021, 7:27pm UTC](https://community.glideapps.com/t/link-shortener-with-experimental-column/32380/3 "2021-09-27T19:27:57Z")

</div>

Wow…works like a charm. Did you use the experimental code column with this? Or Construct URL?  
What service provider did you use. It does the trick perfectly 🤗

---

<div class="post-metadata">

### Author: ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)
#### Post date: [September 27, 2021, 7:33pm UTC](https://community.glideapps.com/t/link-shortener-with-experimental-column/32380/4 "2021-09-27T19:33:18Z")

</div>

I used David’s [fetch column](https://community.glideapps.com/t/fetch-column/31731), Construct URL and This [API](https://is.gd/apishorteningreference.php)

Here are Screenshots  
Construct URL:

 ![Screen Shot 2021-09-27 at 2.31.14 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/c/dcacd3a8b5277d6ff452dabf7d413d5439eab8fc.png)

Experimental Column with David’s code `https://column.sh/fetch`:

 ![Screen Shot 2021-09-27 at 2.32.11 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/5/654b6923ad669abfb9c19af876c2b79af72cd080.png)

Caveat: This column has a never-ending spinning on loading on iPhones. It works well with Androids.

---

<div class="post-metadata">

### Author: ![Luther](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/luther/32/17929_2.png) [@Luther](https://community.glideapps.com/u/Luther)
#### Post date: [September 27, 2021, 7:48pm UTC](https://community.glideapps.com/t/link-shortener-with-experimental-column/32380/5 "2021-09-27T19:48:49Z")

</div>

Thanks a lot @SantiagoPerez…  
I will have a pop at this later on with a fresh mind. For now I need some time off the screen…lol…  
Much appreciated 🙏

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [September 27, 2021, 11:08pm UTC](https://community.glideapps.com/t/link-shortener-with-experimental-column/32380/6 "2021-09-27T23:08:02Z")

</div>

Does it cache shortened URLs or it will return a new one every time?

---

<div class="post-metadata">

### Author: ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)
#### Post date: [September 27, 2021, 11:48pm UTC](https://community.glideapps.com/t/link-shortener-with-experimental-column/32380/7 "2021-09-27T23:48:17Z")

</div>

~~I didn’t test that~~. @ThinhDinh 🤦🏿

Edit: It seems that it actually caches it.

Edit 2: [Loom | Free Screen & Video Recording Software](https://www.loom.com/share/0c029a28b5f44d16b43cbc13cf345da7)

---

<div class="post-metadata">

### Author: ![Jaime](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jaime/32/72726_2.png) [@Jaime](https://community.glideapps.com/u/Jaime)
#### Post date: [September 28, 2021, 12:30am UTC](https://community.glideapps.com/t/link-shortener-with-experimental-column/32380/8 "2021-09-28T00:30:14Z")

</div>

Thanks @SantiagoPerez this is great.

Weirdly when i try to share the link via button (on iOS) it works for me on some links and not others. Even within the same inline list of items.

---

<div class="post-metadata">

### Author: ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)
#### Post date: [September 28, 2021, 12:46am UTC](https://community.glideapps.com/t/link-shortener-with-experimental-column/32380/9 "2021-09-28T00:46:32Z")

</div>

@Jaime

I’m not sure I’m following.

I can say though that for some reason it never loads for me on iOS. If that’s what you mean.

---

<div class="post-metadata">

### Author: ![phong\_tran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/phong_tran/32/32160_2.png) [@phong\_tran](https://community.glideapps.com/u/phong_tran)
#### Post date: [September 28, 2021, 1:27am UTC](https://community.glideapps.com/t/link-shortener-with-experimental-column/32380/10 "2021-09-28T01:27:57Z")

</div>

> **[GitHub - FayasNoushad/Short-Link-API: A link shortner application programming...](https://github.com/FayasNoushad/Short-Link-API)**
>
> A link shortner application programming interface ( API ) - GitHub - FayasNoushad/Short-Link-API: A link shortner application programming interface ( API )

---

<div class="post-metadata">

### Author: ![Jaime](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jaime/32/72726_2.png) [@Jaime](https://community.glideapps.com/u/Jaime)
#### Post date: [September 28, 2021, 1:29am UTC](https://community.glideapps.com/t/link-shortener-with-experimental-column/32380/11 "2021-09-28T01:29:44Z")

</div>

I used the column to generate a shortened link for each row in a list, then attached the link to a button w/ share action.

On iOS, the button only opens the share menu for some of the links (often requiring multiple taps of the button).

Going directly to the URL from the GDE there are no issues, but for some reason iOS isn’t liking some of the generated links when they’re attached to a button. Strange!

---

<div class="post-metadata">

### Author: ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)
#### Post date: [September 28, 2021, 1:51am UTC](https://community.glideapps.com/t/link-shortener-with-experimental-column/32380/12 "2021-09-28T01:51:56Z")

</div>

I see what you mean. iOS is being exclusive as usual.

---

<div class="post-metadata">

### Author: ![Purvang\_Joshi](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/purvang_joshi/32/12645_2.png) [@Purvang\_Joshi](https://community.glideapps.com/u/Purvang_Joshi)
#### Post date: [September 28, 2021, 4:10am UTC](https://community.glideapps.com/t/link-shortener-with-experimental-column/32380/13 "2021-09-28T04:10:33Z")

</div>

Anyone tried app opener links generator?  
Like this [https://appopener.net/](https://appopener.net/)

---

<div class="post-metadata">

### Author: ![Lucas\_Pires](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucas_pires/32/64863_2.png) [@Lucas\_Pires](https://community.glideapps.com/u/Lucas_Pires)
#### Post date: [September 28, 2021, 4:10am UTC](https://community.glideapps.com/t/link-shortener-with-experimental-column/32380/14 "2021-09-28T04:10:41Z")

</div>

That’s awesome @SantiagoPerez!! 🔥  
Im already thinking in some use cases to use it!

---

<div class="post-metadata">

### Author: ![Luther](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/luther/32/17929_2.png) [@Luther](https://community.glideapps.com/u/Luther)
#### Post date: [September 28, 2021, 7:12am UTC](https://community.glideapps.com/t/link-shortener-with-experimental-column/32380/15 "2021-09-28T07:12:43Z")

</div>

I just tested this and it worked. I am going to play around with it and try to combine some actions behind buttons to help my users to generate share links for their pages on my platform…

Linktree move over, Glide is “gliding” through…

Thank you @SantiagoPerez for this…🔥🔥💯🤗

---

<div class="post-metadata">

### Author: ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)
#### Post date: [January 17, 2024, 4:50pm UTC](https://community.glideapps.com/t/link-shortener-with-experimental-column/32380/16 "2024-01-17T16:50:25Z")

</div>


