Dashboard.MultiAddNews

Apr 21, 2010 at 2:47 PM

Hi,

I have some problems with Dashboard methods.

const string Message = "some message";

var facebookUserIds = new List<long>();
facebookUserIds.Add(userId1);
facebookUserIds.Add(userId2);

var news = new dashboard_news();
var newsBundle = new List<dashboard_bundle>();
var bundleItem = new dashboard_bundle { message = Message };
newsBundle.Add(bundleItem);
news.news = newsBundle;

Api.Dashboard.MultiAddNews(news, facebookUserIds);

this gives me an exception:

System.NotSupportedException: The type Facebook.Schema.dashboard_multiAddNews_response is not supported because it implements IDictionary


Anyone got this working?

Regards,

M.