Back

Somen Das

Senior developer | b... • 1y

how i build a simple URL shortener. hay this is an interesting story.so my previous developer build some junk with js to show some products on a page and share them. now the problem is when I share as a dynamic link i can't show share thumbnail on platforms. so I do short-circuit. i just map the product id with image. in my database and make an endpoint like https://🍌.com:3999/shortit?photo=product_image_283736.png&pid=xxxxxxx now this will give me a static short shareable link https://🍌.com:3999/shorturl?id=someid1235 upon hitting this url my server redirect to a PHP page where i get the photo url as get parameter. and I put it in og tags and this is how I solved the thumbnail shareing of a dynamic post.

Reply
4

More like this

Recommendations from Medial

Image Description

Pankaj Joshi

Doing something • 2m

Idhar log Moon pe landing kar rahe hai.. and my developer is telling me I won't be able to generate thumbnail from URL after post is published. bc.. kya to 2 kodi ka developer mil gaya hai.

1 Reply
11

Namit

Not going down today • 2m

Building a QR code Platform with - Custom QR(add logo change color) - Dynamic QR - QR with url shortened - Trackable QR - Protected QR - UTM support QR anything else i should add ? #buildinpublic #Startups

Reply
4

Deepak

Piyoooz • 2m

Hi si/mamr I want to do a internship with u for ur youtube videos or any content I can Edit our videos Our thumbnail Our logo Our posts Our ads Etc With no payment for first time nothing for first project just wanna be part of ur family and journe

See More
Reply
4
Image Description
Image Description

Bhavin Padia

Working • 11m

I would like to develop a small hotel management and booking application. The application will have both admin and user sides: hotel staff can update details on the admin side, while users can interact by booking rooms and browsing hotel photos, vide

See More
19 Replies
2
20
Image Description

Raja Niketh Reddy Nallapareddy

Crafting Digital Suc... • 1y

Alright friends, listen up! 👀 In our previous automation post, I showed you how to send an email when a Google Form is submitted. Right? Well, now we're taking it to the next level by making that automation even more dynamic using APIs and AI! 🤯

See More
1 Reply
1
6

Download the medial app to read full posts, comements and news.