facebook error 'Error validating verification code'

前端 未结 12 1897
清歌不尽
清歌不尽 2020-11-30 21:08

very strange error. i use gide http://developers.facebook.com/docs/authentication/. so i create request to fb and pass redirect_uri. i use test site on localhost. so if i pa

12条回答
  •  情歌与酒
    2020-11-30 22:03

    From what I can see, the problem here is that the redirect_uri must end with '/' and not contain '?' or other special characters. I think that is why you are getting 'Error validating verification code'. This error only appears if you are using file_get_contents(), and not when using the facebook php library. This is the solution for php, don't know if this error appears in other SDK's.

提交回复
热议问题