Facebook SDK .NET - 验证webhooks的挑战时出错 [英] Facebook SDK .NET - error verifying a challenge for webhooks

查看:76
本文介绍了Facebook SDK .NET - 验证webhooks的挑战时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用最新的Facebook sdk for .net,我试图建立一个webhook。哪个会通知我用户Feed的任何变化。


当我尝试在Facebook应用程序上设置webhook时,它无法验证挑战。并给出一个附加的错误。它显示了围绕预期值的额外单一报价。如果观察到收到的值是正确的,不包括额外的报价。


请给出你可能出错的地方的建议。



请参阅附件 - http://i.stack.imgur.com/lHH4q.png [ ^ ]



我尝试过:



搜索了Google,已经询问了堆栈溢出的帮助。在发送挑战之前,已尝试以编程方式删除引号。

I am using the latest Facebook sdk for .net, using which I am trying to set up a webhook. Which would notify me of any change in the user feed.

When I try to set up the webhook on the Facebook app, it fails to verify the challenge. And gives an attached error. It shows an extra Single Quote around the expected value. If observed the value received is correct excluding the extra quotes.

Do give your suggestions as to where I might be going wrong.

Please see the attachment - http://i.stack.imgur.com/lHH4q.png[^]

What I have tried:

Have searched over Google , have asked over stack overflow for the help.Have tried programatically to remove the quotes before the challenge is sent.

推荐答案

您需要联系facebook支持。您没有发布任何代码,因此我们无法知道如何帮助您。无论如何,Facebook支持是最好的选择。
You'll need to contact facebook support. You did not post any code so there is no possible way for us to know how to help you. Regardless, facebook support is the best place to go.


发现问题。它与此链接中的内容有关 c# - 字符串已发送通过Web API' s包含在引号中 - Stack Overflow [ ^ ]
Found the issue . It was related to what is said in this link c# - Strings sent through Web API's gets wrapped in quotes - Stack Overflow[^]


这篇关于Facebook SDK .NET - 验证webhooks的挑战时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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