新手问题 omniauth facebook 求助

Unknow user · August 14, 2012 · Last by allenwei replied at August 14, 2012 · 2243 hits

{ "error": { "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.", "type": "OAuthException", "code": 191 } }

按照 github 上做的,出现这种问题。有木有以前遇到过类似情况的兄弟,怎么破??

THx , google 第一页全看了都木有找到答案

by @nuclearkitten

Unknow user #1 August 14, 2012

吃饭去了

确保你在 facebook app 中填入的 url 和你实际程序的 url 一致。比如开发环境和产品环境不同,端口号也要注意。这点 twitter 要宽松些。

#2 楼 @zhangjingqiang 正解,本地修改一下 Host 可以绕过去

You need to Sign in before reply, if you don't have an account, please Sign up first.