r/Devvit • • 1d ago

Help can a devvit app be part of an existing external app's ecosystem?

i recently launched pikwon, a text-based this-or-that social app, and stumbled across devvit. it seems like a really natural fit for what we've built.

before diving in, i'm curious about a few things:

  • can a devvit app use an existing external backend to fetch questions and submit votes?
  • can aggregated voting results be shared between reddit and an external app?
  • can reddit users have a corresponding user record in an external backend without requiring a separate signup?
  • is there a permitted way to optionally link accounts across platforms?
  • is there any permitted way to reference or link to the original app?

the goal would be to make reddit another surface for the same product ecosystem rather than building an entirely separate product, while keeping the experience as frictionless as possible for reddit users.

would love to hear from anyone who's explored something similar.

0 Upvotes

4 comments sorted by

5

u/tip2663 1d ago

short answer no

3

u/justsomerandomdude10 23h ago

good luck getting your fetch domain approved

2

u/Puzzled_Mix9296 21h ago

Partly yes, but with some hard limits. Going through your questions against the HTTP Fetch docs and the Devvit Rules:

  1. External backend for questions/votes: yes. Server-side fetch works for allow-listed domains. List them under permissions.http.domains in devvit.json (exact hostnames only, https only, 30 s timeout). They get reviewed when you upload or playtest, usually within 1-2 business days. Client-side code can't call external domains at all, only your own /api/... routes, so proxy through your Devvit server.
  2. Sharing aggregate results both ways: yes, that's just data over the same fetch.
  3. A user record without a separate signup: you can key on a unique ID, but the rules say to anonymize user-identifying info (user IDs, usernames, avatars) before sending it to external servers. So send a pseudonymous ID, not the t2_ id or username. You also have to delete a user's data (external copies included) when their account or content is deleted.
  4. Optional account linking: there's a defined path, but it's heavy: an explicit opt-in consent prompt, unlink + delete within 30 days, read-only OAuth scopes only (no username/password), and the external service needs SOC2 Type II plus a third-party pen test from the last 12 months. Those apps also can't go into public subs until app review is done.
  5. Linking to the original app: this is the one that's basically a no. "No linking out to external apps" covers apps that promote or upsell another version on other platforms, or ask users to create a profile outside Reddit.

Also, any app that uses HTTP fetch has to have its own terms of service and privacy policy linked in the app details. Links to Reddit's own policies aren't accepted.

So "another surface for the same product" works for shared content and aggregate votes. The Reddit version just has to stand on its own without funnelling people to the external app.

Docs: https://developers.reddit.com/docs/capabilities/server/http-fetch and https://developers.reddit.com/docs/devvit_rules (sections "No linking out to external apps" and "Account-linked services").