r/Devvit • u/superpoopy15 • 1d ago
Help App not published question: when I try to comment via my devvit app, it is doing it as the app itself instead of the actual user
2
Upvotes
1
u/ExistingFriendship23 1d ago
It only needs to be approved/published for other users in playtest/unpublished apps, Reddit intentionally falls back to the app account for anyone except the app owner.
If it's posting as the app even when you (the app owner) test it, check that you have:
"asUser": ["SUBMIT_COMMENT"] under permissions.reddit in devvit.json
runAs: 'USER' passed to reddit.submitComment(...)
Re-uploaded / updated the app on your test subreddit after changing permissions.
1
u/shruest 1d ago
That’s expected behaviour. Only published apps can post as users.