/// <summary> /// Search all public profiles /// </summary> /// <param name="query"></param> /// <param name="access"></param> /// <returns></returns> public JArray GetPeopleSearch(string query, string access) { People objPeople = new People(); try { objArr = objPeople.Get_People_Search(query, access); } catch (Exception Err) { Console.Write(Err.StackTrace); } return objArr; }
/// <summary> /// List all of the people in the specified collection for a particular activity. /// </summary> /// <param name="activityId"></param> /// <param name="access"></param> /// <param name="collection">"plusoners": List all people who have +1'd this activity OR "resharers": List all people who have reshared this activity.</param> /// <returns></returns> public JArray GetPeopleListByActivity(string activityId, string access, string collection) { People objPeople = new People(); try { objArr = objPeople.Get_People_ListByActivity(activityId, access, collection); } catch (Exception Err) { Console.Write(Err.StackTrace); } return objArr; }
/// <summary> /// Get a person's profile. /// </summary> /// <param name="UserId"></param> /// <param name="access"></param> /// <returns></returns> public JArray GetPeopleProfile(string UserId, string access) { People objPeople = new People(); try { objArr = objPeople.Get_People_Profile(UserId, access); } catch (Exception Err) { Console.Write(Err.StackTrace); } return objArr; }