Read OAuth2.0 Signed_Request Facebook Registration C# MVC

后端 未结 3 1878
北海茫月
北海茫月 2021-02-06 13:21

My question is very similar this but I guess I need to take it one step further.

Facebook says \"The data is passed to your application as a signed request. The signed_r

3条回答
  •  遥遥无期
    2021-02-06 13:41

    Based on your comment, it looks like you're still looking for the response that FB is sending. I believe it it contained in the Form collection in the HttpContext Request object. So from the page you specify as the redirect, you should be able to pull it from:

    HttpContext.Current.Request.Form("signed_request")

    Hope that helps shed some light. I'm still learning as I go so this may not be the best solution.

    thanks, Jason

提交回复
热议问题