Getting CanvasUrl is empty or empty using facebook api for .NET applications and canvas

just starting with facebook api in .net, anyone knows how i can set my canvas url, it was installed in facebook application and here is my code

public class HomeController : BaseController
{
    [CanvasAuthorize(Permissions = "email")]
    public ActionResult Contest()
    { //Do something with authoized user session }

I am using .net 4.0 and mvc3

thank,

+3
source share
1 answer

You need to set two properties in the webConfig file of your application. Under facebookSettings, set canvasUrl and canvasPage .

+3
source

All Articles