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

前端 未结 7 1879
忘了有多久
忘了有多久 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:24

    I had the same problem and tried the above suggestions. They helped, but in my case the problem was that my redir URL had a query parameter and Facebook wasn't cool with that. So, moral of the story is that the redir url you sent to exchange the token has to be identical the the original redir url and it can't have query parameters.

提交回复
热议问题