FB_Graph: An error occurred. Please try again later

我与影子孤独终老i 提交于 2019-12-23 04:43:27

问题


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::VerificationFailed Facebook cookie not found

Could any one got through this error


回答1:


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



来源:https://stackoverflow.com/questions/10170489/fb-graph-an-error-occurred-please-try-again-later

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!