tedchou12 / webull

Unofficial APIs for Webull.
MIT License
597 stars 183 forks source link

Can't refresh tokens #260

Closed Alanavai closed 3 years ago

Alanavai commented 3 years ago

My access and refresh tokens finally ran out and I tried to repeat the steps to refresh them. Every time I run this code, I get an error. What could be the issue?

Code: Webull_API_Login

Output: Webull_API_Output

tedchou12 commented 3 years ago

try this one: https://github.com/tedchou12/webull/wiki/Workaround-for-Login

Alanavai commented 3 years ago

@tedchou12 Hi Ted, I see the instructions on your link but what page do we have to access to see "account" under the Network tab to see the tokens. I don't see any such name in the Inspector when I go to app.webull.com/watch.

tedchou12 commented 3 years ago

@Alanavai You would need to logout then login again, to find the account in the network tab. Try using ctrl + f for search, it might be a lot easier to find.

Alanavai commented 3 years ago

@tedchou12 That worked, thanks!