api接口:http://open.weibo.com/wiki/Oauth2/access_token
一.github上下載微博授權(quán)登錄sdk
二.在我的應(yīng)用中->接口管理->授權(quán)設(shè)置中填寫回調(diào)地址
三.在sdk中config里填入你的WB_KEY ,WB_SKEY,WB_CALLBACK_URL 相關(guān)參數(shù)
四.入口文件index.php 配置

QQ截圖20170614122328.png
五.處理邏輯

QQ截圖20170614122612.png