Possible to add meta tags?

Hi there!

I was wondering if there’s a way to add meta and Open Graph tags to a Glide App. Something like:

<meta property="og:url" content="https://example.com/">
<meta property="og:type" content="website">
<meta property="og:title" content="Example Title">
<meta property="og:description" content="Example Description">
<meta property="og:image" content="https://example.com/example-image.jpg">

Ideally, I’d like to post a link in Discord, Slack, etc., and get a nicer-looking embed.

Thanks in advance!

I’m not sure you can do this. My workaround in the past is using Short.io and use their API here.

Hi to all.
I tried to use this approach but it doesn’t work in Facebook. It seems that Facebook goes to the target url to get the metadata :confused:

Maybe I’m configuring something wrong…

Can you show me how you’re doing it? There’s also a Sharing Debugger you can use to check how your link would look.

I’m curious if you were able to get this to work. I’d like to share screen with a nice preview image of something on the screen.

Are you able to get this to work for your Glide app? where do you put the code, in a code component block? Thanks!

I was able to a few years ago, but I stopped that project and was unable to find the scenario to give a screenshot here.

I used Make.com. What I did was basically everytime a new article is posted in my app, I send the URL to Make, process it in Short.io with a domain I registered, then use the PUT call I linked to above to update its metadata. I usually share those articles on Facebook, so the Sharing Debugger helped me to see if the metadata has been updated or not.

An alternative is changing them manually in the Short.io dashboard.

1 Like

thanks, this all makes sense except what you’re saying about using the PUT call. Can you expand on that?

Also, I notice there is an integration in Glide’s Actions for short.io. Couldn’t we just use that?

Sorry, I should have added this API link.

The integration only allows you to shorten URLs and nothing else.

1 Like

Much appreciated!

1 Like