This project is read-only.

Using the Graph Toolkit from

Oct 21, 2012 at 1:58 PM
Edited Oct 21, 2012 at 1:59 PM

I am trying to use the Facebook Graph Toolkit from


Step 3, under Get Started, shows the following C# code -

public partial class Default : System.Web.UI.Page {
    protected void Page_Load(object sender, EventArgs e){
        CanvasContext c = CanvasContext.FromConfig(this.Context);
        if(c.Session != null) {
            ComputerBeacon.Facebook.Models.User u = new ComputerBeacon.Facebook.Models.User("me", c.Session.AccessToken);
            Response.Write("Welcome, " + u.Name);


I tried the following with but CanvasContext is not recognized -

Protected Sub Page_Load(sender As Object, e As System.EventArgsHandles Me.Load
        Dim c As CanvasContext

End sub



Any idea why ?