App Id : 17145536
API Key: nIoc7T7GA953ao9LWfd53zGf
Secret Key: oBMLK7VSa7sZAUAAjVUkriBGpSkbe6Y
App 上传文件夹: BTBD
使用方法 引导客户端 请求
http://callback.iw3c.top/baidupan/?url={你的回调地址}, 用户授权登录后 ,会自动回调到 {回调地址}/?data={base64 编码的json 数据}
如 引导客户端请求
http://callback.iw3c.top/baidupan/?url=https%3a%2f%2fwww.baidu.com%2f
会回调到
https://www.baidu.com/?data=eyJleHBpcmVzX2luIjoyNTkyMDAwLCJyZWZyZXNoX3Rva2VuIjoiMTIyLmNiNTFjMjBhZDdlZjdlYTgyMzEyZjhkZWNjMzUzZmE0LllEclRBYUJ0R21JRkRZMWJndzRDM3ZFNnVqd0FPRFBYOEZRd1pvUy52Q0g4WnciLCJhY2Nlc3NfdG9rZW4iOiIxMjEuZDg3MmIxZjUzNTc1NjVlZjBhNTMzNDE0NzM2MGRlNjYuWUhLWm1zdnlmd0ZtNmpHeG45VVFlck1INkJVa2szWmtMWlhWV2JlLk0xQUJCQSIsInNlc3Npb25fc2VjcmV0IjoiIiwic2Vzc2lvbl9rZXkiOiIiLCJzY29wZSI6ImJhc2ljIG5ldGRpc2sifQoK
解码 data 中的数据得到
{"expires_in":2592000,"refresh_token":"122.cb51c20ad7ef7ea82312f8decc353fa4.YDrTAaBtGmIFDY1bgw4C3vE6ujwAODPX8FQwZoS.vCH8Zw","access_token":"121.d872b1f5357565ef0a5334147360de66.YHKZmsvyfwFm6jGxn9UQerMH6BUkk3ZkLZXVWbe.M1ABBA","session_secret":"","session_key":"","scope":"basic netdisk"}