/// <summary> /// Gets the posts by the specified user or page. /// </summary> /// <param name="name">The name of the user/page.</param> /// <param name="limit">The maximum amount of posts to return.</param> public FacebookPostsResponse GetPosts(string name, int limit = 0) { return(FacebookPostsResponse.ParseJson(Raw.GetPhotos(name, limit))); }
/// <summary> /// Gets the posts by the specified user or page. /// </summary> /// <param name="identifier">The identifier of the user/page.</param> /// <param name="limit">The maximum amount of posts to return.</param> public FacebookPostsResponse GetPosts(string identifier, int limit = 0) { return(FacebookPostsResponse.ParseJson(Raw.GetPosts(identifier, limit))); }
/// <summary> /// Gets the posts by the specified user or page. /// </summary> /// <param name="id">The ID of the user/page.</param> /// <param name="limit">The maximum amount of posts to return.</param> public FacebookPostsResponse GetPosts(long id, int limit = 0) { return(FacebookPostsResponse.ParseJson(Raw.GetPhotos(id + "", limit))); }