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
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…)
I believe you can get someone’s cycles (karma represented in GQL i believe) without the SID and just using the username.
You used to be able to, but not anymore, now you need the sid
if you need proof, @rayhanadev told me this himself
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
I didn’t know you could get the image and URL via auth, interesting. (I completely forgot about ID )
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.
You can request it as a feature but it’s not possible no
I would find it not nice to know that it is possible to know about my cycle number tbh
IMO, it’s a HUGE invasion of privacy.
It used to be possible though… but I guess back then cycles were just upvotes =/
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.