摘要: vue获取微博授权URL 1.在Vue页面加载时动态发送请求获取微博授 权url 1.1 在 components\common\lab_header.vue 中写oauth动态获取微 博授权URL // 获取微博登录地址 oauth() { // 从后端获取 微博登录地址 oauth_post() 阅读全文
posted @ 2020-10-09 10:58 张泽涛的 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 新浪微博开放平台:https://open.weibo.com/ 1.注册账号 注册新浪微博账号 进入首页。创建网站接入的应用: https://open.weibo.com/ 选择立即接入,进入到创建应用页面 2.接口文档 查看接口文档 https://open.weibo.com/wiki/授权 阅读全文
posted @ 2020-10-09 10:50 张泽涛的 阅读(609) 评论(0) 推荐(0) 编辑
摘要: 1.微博三方登录流程 https://api.weibo.com/oauth2/authorize? client_id=4122644977 &response_type=code &state=study& forcelogin=true& redirect_uri=https%3A%2F%2F 阅读全文
posted @ 2020-10-09 10:45 张泽涛的 阅读(526) 评论(0) 推荐(0) 编辑