Getting if a request was made for purposes of rich preview generation
Unanswered
Northeast Congo Lion posted this in #help-forum
Northeast Congo LionOP
So this is a weird post and I figured you guys would like a challenge - I have an app that relies on links being posted in a discord channel before they're "active". The way I've decided to do this is through checking whether the link has been hit by the discord preview generation bot. My understanding is that it's going to hit your website with a special user-agent.
I know that user agent can be spoofed, but it's a good start for now. Does anyone know any way of differentiating preview requests and "Normal" requests?
I know that user agent can be spoofed, but it's a good start for now. Does anyone know any way of differentiating preview requests and "Normal" requests?