PublishTemplatizedAction random error

May 22, 2008 at 3:22 PM
My scenario is this:
Developer Toolkit 1.6

when I execute this function:

string actor = this.FBService.GetUserInfo().UserId;
string title_template = "{actor} said hello";
string body_template = "<a href=" + Config.Instance.AppUrl + " >" + Config.Instance.Name + "</a>";
Collection<Facebook.Entity.PublishImage> publishedimages = new Collection<Facebook.Entity.PublishImage>();
Facebook.Entity.PublishImage img = new Facebook.Entity.PublishImage();
img.ImageLocation = "";
img.ImageLink = "";

                this.FBService.PublishTemplatizedAction(title_template, null, body_template, null, null, null, publishedimages);
            catch (Exception ex)
                Response.Write("<fb:error><fb:error>ERROR</fb:error>" + ex.Message + "</fb:success>");

Function crash my app but works fine, because I can see result in my Feed News and in my mini-feeds. When I comment this line my application render ok.
Try and catch don't work because I can't catch error.

Error is this:

Error while loading page from MYAPP

The URL did not respond.

There are still a few kinks Facebook and the makers of onestic1 are trying to iron out. We appreciate your patience as we try to fix these issues. Your problem has been logged - if it persists, please come back in a few days. Thanks!