Can not start Canvas examples

Aug 25, 2012 at 10:05 AM

I downloaded the canvasexamples and I tried to run it but it failed to load and display and error saying "Cannot find Facebook POST data as expected. Make sure you're viewing this page in a Facebook Iframe Application" 

Source Error:

Line 18:                 c.RequireLogin = true;
Line 19:                 c.Permissions.Add("publish_stream");
Line 20:                 c.Login();
Line 21: 
Line 22: 

Please help me to solve this problem, anyone ?