Facebook的取消授权回调不叫 [英] Facebook deauthorization callback is not called

查看:483
本文介绍了Facebook的取消授权回调不叫的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个FB应用程序,当我作为取消授权回调URL进入我的开发箱地址,框用ping操作应用移除FB上后这个请求:

  POST / Facebook的/取消对HTTP / 1.1
主持人:bashman.org
接受:* / *
内容长度:261
内容类型:应用程序/ x-WWW的形式urlen codeD
连接:关闭fb_sig_uninstall=1&fb_sig_locale=de_DE&fb_sig_in_new_facebook=1&fb_sig_time=1322732591.2685&fb_sig_added=0&fb_sig_user=1476224117&fb_sig_country=de&fb_sig_api_key=e39a74891fd234bb2575bab75e8f&fb_sig_app_id=32352348363&fb_sig=f6bbb27324aedf337e5f0059c4971

(把钥匙是假这里)

但是!当我在取消授权回调URL进入我的生产箱URL,POST请求是从来没有。使用tcpdump测试它。我生产的机器上没有要求,为什么?

我检查地铁路线从我生产框请求来自的IP地址,一切都OK,0%的数据包丢失。

主机名端口和路径是正确的,测试了1K次,没有防火墙,IDS,或其他系统挡住了我的以太网插槽。


  1. 为什么邮政回调不叫? (我怎样才能解决这个问题?)


  2. 我怎么能调试这确定是什么问题?



解决方案

您可以尝试使用 Facebook网址调试,看看Facebook的服务器能够达到您的回调网址...

查看信息,Facebook是能够检索可以帮助你调试这个问题。

I have an FB app, when I enter as the deauthorization callback URL my development box address, the box is pinged with this request after app removal on FB:

POST /facebook/deauthorize HTTP/1.1
Host: bashman.org
Accept: */*
Content-Length: 261
Content-Type: application/x-www-form-urlencoded
Connection: close

fb_sig_uninstall=1&fb_sig_locale=de_DE&fb_sig_in_new_facebook=1&fb_sig_time=1322732591.2685&fb_sig_added=0&fb_sig_user=1476224117&fb_sig_country=de&fb_sig_api_key=e39a74891fd234bb2575bab75e8f&fb_sig_app_id=32352348363&fb_sig=f6bbb27324aedf337e5f0059c4971

(The keys are fake here)

BUT! when I enter my production box URL in the deauthorization callback URL, the POST request is never made. Tested it with Tcpdump. No request on my production machine, why?

I checked with mtr the route from my production box to the IP address the request came from, all is OK, 0% packet lost.

The hostname port and path is correct, tested it 1k times, no firewall, IDS, or other systems blocking my ethernet slot.

  1. Why is the Post callback not called? (How can I fix it?)

  2. How I can debug this to determine what the issue is?

解决方案

You can try using the facebook URL Debugger and see if facebook's servers are able to reach your callback URL...
Viewing the information facebook IS able to retrieve might help you debug this issue.

这篇关于Facebook的取消授权回调不叫的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆