(500) Internal Server Error on api.Status.Get

Apr 24, 2010 at 12:45 PM

When I run the following code I get a (500) Internal Server Error for the api.Status.Get method. Does anyone else have this problem?

            string output = string.Empty;
            IFrameCanvasSession fs = new Facebook.Session.IFrameCanvasSession(APIKEY, SECRET);
            if (!string.IsNullOrEmpty(fs.SessionKey))
            {
                Api api = new Api(fs);
                var user = api.Users.GetInfo();
                output += "Hello, " + user.name + "!<br />";
                var statuses = api.Status.Get(); // here I get the Exception with 500 Internat Server Error
                foreach (var status in statuses)
                    output += status.uid + ": " + status.message + " from " + status.source + "<br />";

            }
            else
            {
                fs.Login();
            }