Unable to get access token from Facebook. Got an OAuthException says “Error validating verification code”

前端 未结 7 1876
忘了有多久
忘了有多久 2020-12-01 02:36

I am using java and the purpose of my demo application is simple: Update user status. I followed the Server-side Flow on page http://developers.facebook.com

相关标签:
7条回答
  • 2020-12-01 03:33

    I recently dealt with exactly this problem: everything matched, but it failed with the OAuthException. The thing that made it work was to change the redirect uri (in both requests for the flow) from:

    http://foo.example.com

    to

    http://foo.example.com/

    I.e., add the trailing slash. And then it worked. Stupid and silly, but there you go.

    0 讨论(0)
提交回复
热议问题