Store URL in firebase

How can we store url in firebase ?

If URL store in this format.
Than it will work otherwise not


How can we store URL in this format

This, read the topic:

2 Likes

I’m using text box

&
I want store URL in firebase
Not get URL

I want store URL in this format

Can we use any other way

Help …

Did You read ?

“for storing link do this”

1 Like

URL in Firebase is stored in different way.
This is the format:
"\"https:\\/\\/www.google.com\"".

3 Likes

I want store it from blocks method.
Not manually

I have a lot users
He wants store a URL

Can you give any example of blocks

Just store the url like a value

Doesn’t need a special mehode

Show us yours blocks , what did you try ?

you can use Join block

1 Like
1 Like

just use this block

blocks - 2020-11-18T160504.765

Dont need to use join block just store the textbox text

1 Like

if user not enter https:// in textbox text. then, firebase didn’t store it as URL. i think…

It have tried it with storing the cloudonary link

Just enter the link in textbox and store it in firebase simply

1 Like

Let’s wait for him to show what he tried.

2 Likes

You want easy answers without testing.

If you do what Sumit1334 said, it works…

If you put a url in a Texbox or take it out of a text label or wherever, when you save it in Firebase, it is saved as follows:

"\"https:\\/\\/upload.wikimedia.org\\/wikipedia\\/commons\\/a\\/aa\\/Monica_Bellucci_2006.jpg\""

But when you use the blocks to get the data in Firebase and put it in a Label, it looks right:

You get this:

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.