Find cycles count of a user

Is there any way to find how many cycles a user has using Replit auth?

Using Replit Auth I believe you can only get the following:
Bio, username, roles, teams, ID, PFP, url

3 Likes

Nope there isn’t, the only way you can get them is using a currenUser GraphQL query which you can only do for yourself (unless you have another’s sid, which is a problem…)

3 Likes

I believe you can get someone’s cycles (karma represented in GQL i believe) without the SID and just using the username.

1 Like

You used to be able to, but not anymore, now you need the sid

if you need proof, @rayhanadev told me this himself

4 Likes

Nope, you can get:

  • userid
  • username
  • pfp
  • bio
  • url
  • roles
  • teams

as it says in the docs: https://docs.replit.com/hosting/repl-auth-sidebar#getting-user-info

3 Likes

I didn’t know you could get the image and URL via auth, interesting. (I completely forgot about ID :confused: )

1 Like

I used to have access to Replit’s GraphQL Schema, I can confirm that their API does not have a way to get someone else’s cycles without logging into their account.

3 Likes

You can request it as a feature but it’s not possible no :slight_smile:

1 Like

I would find it not nice to know that it is possible to know about my cycle number tbh

1 Like

IMO, it’s a HUGE invasion of privacy.

1 Like

It used to be possible though… but I guess back then cycles were just upvotes =/

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.