我有关于为Facebook的请求restserver生成签名的问题。
这是我的要求
function(){
.then(response=>{
this.roles = response.data
})
}
Facebook回复
https://api.facebook.com/restserver.php?api_key=882a8490361da98702bf97a021ddc14d&credentials_type=password&email=xxxxx&format=JSON&generate_machine_id=1&generate_session_cookies=1&locale=vi_VN&method=auth.login&password=xxxxx&return_ssl_resources=0&v=1.0&sig=2ca6b594f82672d9dfdf14f7b80e2af0
我遇到了facebook的错误代码为{"error_code":104,"error_msg":"Incorrect signature (104)","request_args":[{"key":"api_key","value":"882a8490361da98702bf97a021ddc14d"},{"key":"credentials_type","value":"password"},{"key":"email","value":"xxxxx"},{"key":"format","value":"JSON"},{"key":"generate_machine_id","value":"1"},{"key":"generate_session_cookies","value":"1"},{"key":"locale","value":"vi_VN"},{"key":"method","value":"auth.login"},{"key":"password","value":"--sanitized--"},{"key":"return_ssl_resources","value":"0"},{"key":"v","value":"1.0"},{"key":"sig","value":"2ca6b594f82672d9dfdf14f7b80e2af0"}],"error_subcode":0}
,所以有人可以帮助我与其他用户分享如何为新请求重新生成签名吗?
非常感谢您。