向我发送应用取消授权回调的 Facebook 服务器的 IP 地址是什么?
我想将 Facebook 服务器的 IP 地址列入白名单,每当用户取消对我的应用程序的授权时,该服务器就会向我发送回调。我应该将哪些 IP 地址列入白名单?
I would like to whitelist the IP addresses of the Facebook servers that sends me a callback whenever a user deauthorizes my App. Which IP addresses should I whitelist?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
您可以通过以下方式检查 Facebook 的 IP:
记录于 https://developers.facebook.com/docs/ApplicationSecurity/< /a>
You can check Facebook's IPs with:
Documented at https://developers.facebook.com/docs/ApplicationSecurity/
很多人都问过,但 Facebook 并没有公布他们的 IP 地址,而且从我所看到的情况来看,它们会随着时间的推移而发生变化。
Many people have asked, but Facebook does not publish their IP addresses, and they change over time from what I've seen.
我想你会发现使用域名比使用 IP 更容易。
I think you'll find it easier to use domain rather than ip.
据我所知,Facebook, Inc. 拥有以下子网:
31.13.24.0/21
31.13.64.0/19
31.13.69.0/24
31.13.72.0/24
31.13.73.0/24
31.13.75.0/24
31.13.76.0/24
31.13.77.0/24
66.220.144.0/21
66.220.152.0/21
69.63.176.0/21
69.63.176.0/24
69.63.184.0/21
69.171.224.0/20
69.171.239.0/24
69.171.240.0/20
69.171.255.0/24
74.119.76.0/22
103.4.96.0/22
173.252.64.0/19
173.252.70.0/24
204.15.20.0/22
From what I know, Facebook, Inc. owns the following subnets:
31.13.24.0/21
31.13.64.0/19
31.13.69.0/24
31.13.72.0/24
31.13.73.0/24
31.13.75.0/24
31.13.76.0/24
31.13.77.0/24
66.220.144.0/21
66.220.152.0/21
69.63.176.0/21
69.63.176.0/24
69.63.184.0/21
69.171.224.0/20
69.171.239.0/24
69.171.240.0/20
69.171.255.0/24
74.119.76.0/22
103.4.96.0/22
173.252.64.0/19
173.252.70.0/24
204.15.20.0/22
您确实应该尽可能使用 DNS。无论今天使用什么 IP,正确的“主机名”通常都会让您到达您期望的位置。
You really should use DNS when ever possible. The correct "host name" will generally get you where you expect to be regardless of what IP is being used today.
要查找当前的 IP 列表,请使用:
whois -h whois.radb.net -- '-i origin AS32934' | grep ^路线
To find the current list of IPs use:
whois -h whois.radb.net -- '-i origin AS32934' | grep ^route