devvit icon indicating copy to clipboard operation
devvit copied to clipboard

A way to get the post or comment from a share link

Open pl00h opened this issue 1 year ago • 0 comments

About a year ago, Reddit introduced a form of link that has sharing information for easier tracking.

Example post link: https://www.reddit.com/r/unitedkingdom/s/i1ISuc5IKa

Unfortunately, it's not possible using Devvit to determine where links like this lead to, or even if it's a post or comment that's referenced.

It'd be great if we had a way to resolve these links to the original permalink, or to a post or comment object. HTTP Fetch could theoretically be used for this (to find out where the redirect leads) but reddit.com is blocked.

pl00h avatar May 23 '24 21:05 pl00h