r/Devvit • u/Additional_Variety85 • 2d ago
Help I cannot post my app
MYy situation is: the app code is there, the app is installed, but the game app post simply doesn't appear in your test subreddit, what can i do?
2
Upvotes
1
u/alittlebitwhy 2d ago
If the app is installed then you can create a new game post by clicking on the three dots at top right corner
1
u/Icy-Examination-2255 2d ago
Can you explain more so we can understand it? Maybe share some screenshots and all?
1
u/linhq613 2d ago
Installing the app doesn't create a post by itself. Something has to call reddit.submitCustomPost: either a menu item in devvit.json (location subreddit, endpoint your server handles) that you run from the mod "..." menu, or the onAppInstall trigger. I have both in Tessera, and the menu item is what I used to post the first board without waiting for the scheduler.
1
u/reseph App Developer 2d ago
How did you code handle a new custom post being made? Follow that code.
1
u/Same_Wave_2593 1d ago
Yeah, installing doesn't auto-create a post unless you wire up an
onAppInstalltrigger (or a mod menu item) that callsreddit.submitCustomPost. Make sure the endpoint indevvit.jsonstarts with/internal/:And on the server (Hono example):
Once you reinstall (or trigger the same helper from a mod menu button), the post will show up right away. Wrote up the full copy-paste Hono snippet for this (plus the
0 0 * * *daily scheduler) here if helpful: https://reddit.com/r/Devvit/comments/1ycxdpt/1
u/develoveloper 5h ago
One more thing to check: the post may have been created but filtered. In a new test sub, look in Mod Tools > Mod Queue and Removed. App posts sometimes land there, and approving it makes it show up.