public List<WallEntry> Get( int? ownerId, int? count, int? offset, string filter)
{
this.Manager.Method("wall.get");
if (ownerId != null)
{
this.Manager.Params("owner_id", ownerId);
}
if (offset != null)
{
this.Manager.Params("offset", offset);
}
if (count != null)
{
this.Manager.Params("count", count);
}
if (filter != null)
{
this.Manager.Params("filter", filter);
}
string resp = this.Manager.Execute().GetResponseString();
if (this.Manager.MethodSuccessed)
{
XmlDocument x = this.Manager.GetXmlDocument(resp);
if (x.SelectSingleNode("/response").InnerText.Equals("0"))
{
return null;
}
this.PostsCount = Convert.ToInt32(x.SelectSingleNode("/response/count").InnerText);
return this.buildEntryList(x);
}
return null;
}