devvit icon indicating copy to clipboard operation
devvit copied to clipboard

Add a way of getting user social links without having to retrieve the full user object first

Open fsvreddit opened this issue 4 months ago • 0 comments

Devvit provides a way to get user social links by way of the getSocialLinks method on the User object. But most of the time I need to grab a user's social links, I don't need any other properties from the user other than their name, which I will typically already have. so it feels wasteful to make a redundant call like this

It would be great if there was a method on context.reddit to retrieve social links without having to grab the User first.

fsvreddit avatar Aug 23 '25 05:08 fsvreddit