本文介绍了FB_Graph:发生错误。请稍后再试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用fb_graph为我的rails应用程序。
我刚刚跟随nov / fb_graph应用程序。
上周工作正常,我可以登录并获取用户信息。
但突然间我收到错误。
我没有改变我的应用程序中的任何东西。
我的app_id,screat_id一切正常。



即使我收到Facebook错误窗口,如



图:: Auth :: VerificationFailed
没有找到Facebook的cookie



有没有人可以通过这个错误

解决方案

这是因为URL错误



指定的网址应该是正确的。 >

我提到的网站网址为和域作为本地主机



但在我的浏览器中,我正在运行这是实际的问题,所以我运行服务器作为localhost:3000现在它的工作正常。因为我们提到网站url作为本地主机fb将重定向到相同,如果我们运行0.0.0.0:3000将会上升的错误,给定URL不允许应用程序配置。



谢谢


I am using fb_graph for my rails app.I just followed nov/fb_graph app.It was working fine till last week, i was able yo login and could get user information.But suddenly i am getting error.I didnt change anything in my app.my app_id, screat_id everything is correct.

Even i am getting error when i close that facebook error window like

Graph::Auth::VerificationFailedFacebook cookie not found

Could any one got through this error

解决方案

this just because of URL mistake

whatever website url is specified should be correct.

i mentioned website url as http://localhost:3000/ and domain as localhost

but in my browser i was running http://0.0.0.0:3000/ that was the actual problem so i ran server as localhost:3000 now its working fine. Because we mentioned site url as localhost fb will redirect to same, if we r running 0.0.0.0:3000 it will rise error that Given URL is not allowed by the Application configuration.

thank you

这篇关于FB_Graph:发生错误。请稍后再试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 12:05