Api.Pages.GetInfo

Mar 4, 2010 at 6:23 AM

Try as I may I just can't seem to get any more than just the id of the page. Is there something I'm doing wrong? I really want the name of the page. If the person is an admin would be helpful too but I'm not sure where to grab that.

List<string> fields = new List<string>(new string[] { "page_id", "name", "members" });
System.Collections.Generic.IList<Facebook.Schema.page> pages = ((SiteMaster)this.Master).Api.Pages.GetInfo(fields, null, null);

for (int i=0; i<pages.Count; i++)
{
        Facebook.Schema.page page = (Facebook.Schema.page) pages[i];
        Response.Write(string.Format("Id: {0}<br/>Name: {1}<br/>Description: {2}<br/><br/>",page.page_id, page.name, page.members));
}

Mar 6, 2010 at 5:36 PM

issue is now resolved. See post http://facebooktoolkit.codeplex.com/WorkItem/View.aspx?WorkItemId=14808