开发者

Missing URI Parameter Facebook connect

开发者 https://www.devze.com 2023-03-25 07:16 出处:网络
https://graph.facebook.com/oauth/access_token?client_id=[app-id]&redirect_uri=[url]&client_secret=[secret]&code=[code]
https://graph.facebook.com/oauth/access_token?client_id=[app-id]&redirect_uri=[url]&client_secret=[secret]&code=[code]

warning: peer certificate won't be verified in this SSL session

=> #<Net::HTTPBadRequest 400 Bad Request readbody=true>

irb(main):005:0> resp.body
=> "{\"erro开发者_运维百科r\":{\"type\":\"OAuthException\",\"message\":\"Missing redirect_uri parameter.\"}}"

Any idea what the matter is ? Since, I am including redirect_uri


Found the problem, very unusual thought. Would be great if someone could expand on this.

When I made the call with Net::HTTP (ruby client), it didn't work, although when I used just "curl" things worked perfectly fine !

0

精彩评论

暂无评论...
验证码 换一张
取 消