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

Can't find "x-bc" value. Not working without it. #2125

Open
nothing2obvi opened this issue Sep 12, 2024 · 2 comments
Open

Can't find "x-bc" value. Not working without it. #2125

nothing2obvi opened this issue Sep 12, 2024 · 2 comments

Comments

@nothing2obvi
Copy link

nothing2obvi commented Sep 12, 2024

In general, in finding the values to input to auth.json, when I type in "api," I do not see "init" anywhere. However, I do see "onlyfans.com," for which I can see the cookie and user_agent but not the x_bc value. I tried running it with just cookie and user_agent, but it did not work.

Any suggestions, please? Thank you!

@nilejturn22
Copy link

The easiest way I've found of getting this value is to use chrome and on page load there should be a call for me or https://onlyfans.com/api2/v2/users/me. At the bottom of the request headers you should see your X-Bc header. Use this value and it should work

@SergeyKapshuchenko
Copy link

x-bc is stored in local storage as "bcTokenSha"

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

No branches or pull requests

3 participants