开发者

Missing URI Parameter Facebook connect

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜