This project is read-only.

Canvaspage not working with Facebook Graph Toolkit 2.1.4267.23869

Oct 19, 2011 at 3:14 PM

I have create canvaspage app using FGT with asp.NET. Here is the app url. . I have configured all the required settings in the app. Default page opening fine but when I click on TestDemo its redirected again to default page without throwing error. I am expecting FB authenticated user's details to be display on Features.aspx page. can anyone help me for the same.

public partial class Features : CanvasPage
    protected void Page_PreInit(object sender, EventArgs e)
        RequireLogin = true;
        ExtendedPermissions = "publish_stream";
        // CheckExtendedPermissions = true;

 protected void Page_Load(object sender, EventArgs e)
        if (!Page.IsPostBack)

            Facebook_Graph_Toolkit.GraphApi.User U = new Facebook_Graph_Toolkit.GraphApi.User(this.FBUserID, Api.AccessToken);

            ArrayList info = new ArrayList();
            info.Add(new PositionData("Access Token", Api.AccessToken));
            info.Add(new PositionData("User ID", U.ID));
            info.Add(new PositionData("Name", U.Name));
            info.Add(new PositionData("Sex", U.Gender));
            info.Add(new PositionData("Locale", U.Locale));
            Repeater1.DataSource = info;


above is my code snippet in Features.aspx.cs page