In MVC3, we could use the CanvasAuthorize Attribute(in old FaceBook version) properties like LoginDisplayMode , ReturnUrlPath ,CancelUrlPath.
How can we use them in Latest version 6.4?
[CanvasAuthorize(Permissions = "", LoginDisplayMode = "popup",
ReturnUrlPath = "Some Url", CancelUrlPath = "Some Url")]
public ActionResult Index()
{
return View();
}
We have [FacebookAuthorize("Permissions")]
in the MVC4. But, how we could use other properties like LoginDisplayMode , ReturnUrlPath ,CancelUrlPath. as mentioned above ?
There is no provision for the Named parameter of CanvasAuthorize Attribute
of Older Dll present in the FacebookAuthorize Attribute
of the latest version.
Please check this link for more details
Here is the another link
Right now we are provided one overload constructor.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With