Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getCommentsAndPostsByUser returns nothing for a particular user #160

Open
devvit-help-bot bot opened this issue Feb 7, 2025 · 0 comments
Open

getCommentsAndPostsByUser returns nothing for a particular user #160

devvit-help-bot bot opened this issue Feb 7, 2025 · 0 comments

Comments

@devvit-help-bot
Copy link

Details

u/super_gisty has 7 posts in their history, but both getCommentsAndPostsByUser and getPostsByUser return empty arrays. Warning, profile is NSFW.

Additional info

Discord message: _I have a weird issue with retrieving the history for one user. This user has 7 posts in their history, but calling getCommentsAndPostsForUser returns an empty array:

  const userContent = await context.reddit.getCommentsAndPostsByUser({
      username: "super_gisty",
      limit: 100,
      sort: "new",
  }).all();

  console.log(userContent.length);

(Warning: Profile is NSFW)

getPostsByUser likewise returns nothing.

The user is not blocking the app account (one of the posts at least is on a sub the app is moderating) and I've reproduced from my sandbox app too._

Message author: big.wheel

Discord link: https://discord.com/channels/1050224141732687912/1050227353311248404/1325739551485857805

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

0 participants