Ask coding questions

← Back to all posts
Repltalk not returning last post
ch1ck3n (1584)

I have a function that (at least attempts) to get the last post on

async def get_talk_leaderboard():
  global lboard
  replit = repltalk.Client()
  lolboard = await replit.boards.all.get_posts(sort='new', search='')
  lboard = []
  for post in lolboard:

but when I run it like this:

it return all but the last post in repl talk.

I'm wondering if I'm doing it wrong or is it just a bug in the repltalk api

Coder100 (16868)

maybe you should try making ur own graphql lib

Coder100 (16868)

ikr let me give you the schema @ch1ck3n