【Python web 开发】微博授权登录,获取access_token

1、请求微博获取授权 接口:oauth2/access_token 

因为要用post 请求,所以要借用Python 的requests 库

2、拿到access_token ,后续有要用到用户信息的接口,可以拿这个access_token

猜你喜欢

转载自www.cnblogs.com/yuanyuan2017/p/9973751.html
今日推荐