【发布时间】:2013-09-12 12:14:35
【问题描述】:
在 MVC3 中,我们可以使用 CanvasAuthorize Attribute(in old FaceBook version) 属性,例如 LoginDisplayMode 、 ReturnUrlPath 、CancelUrlPath。
我们如何在最新版本 6.4 中使用它们?
[CanvasAuthorize(Permissions = "", LoginDisplayMode = "popup",
ReturnUrlPath = "Some Url", CancelUrlPath = "Some Url")]
public ActionResult Index()
{
return View();
}
我们在 MVC4 中有 [FacebookAuthorize("Permissions")]。但是,我们如何使用其他属性,如 LoginDisplayMode 、 ReturnUrlPath 、CancelUrlPath。如上所述?
I have gone through this article at GitHub. But no help so far
I have read this article suggested by Prabir. But no help so far
【问题讨论】:
标签: c# asp.net-mvc-3 c#-4.0 asp.net-mvc-4 facebook-c#-sdk