Set the authorization URL in the application of the platform (generally there is a default)
Use APP_KEY, APP_SECRET, REDIRECT_URL to request authorization interface.
Here you can refer to the demo written by others
https://github.com/olwolf/sinaweibopy3/blob/master/sinaweibopy3.py
After the request, fill in the user name and password in the opened web page:
copy the code on the URL, add it to the required location, and the token will be displayed.