Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
968 views
in Technique[技术] by (71.8m points)

facebook graph api - OAuth Error: This IP can't make requests for that application

I just started to get random This IP can't make requests for that application. errors with my app. My server's IP address is on my whitelist from my app's settings, and it was working perfectly, but I randomly started to get this error. I've checked my server's IP (even though I already know it's static), I've removed all the entries in the whitelist, but none seem to work. Weird enough, I can test the exact same code from my home and it works! What could be the cause of the problem? This wasn't happening even a few minutes ago, but now I'm getting an error at my server.

Thanks, Can.

UPDATE: I can't seem to remove the whitelist, too. I went to app advanced settings, and the IP's were there again. I deleted them and saved, it says that it's saved but when I scroll down, the IP's are still there. I think it's a serious bug with Facebook. But that [currently un-editable] list DOES contain my server's IP anyway.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

As Victor Hugo Arango A. said, remove all the IPs in the server whitelist and you're good to go. To do this:

  1. Go to App Settings
  2. Advanced (tab)
  3. Security (section) remove IP if you see any.

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...