/// <summary> /// Gets a list of posts of the user or page with the specified <paramref name="identifier"/>. /// </summary> /// <param name="identifier">The identifier (ID or alias) of the user or page.</param> /// <param name="limit">The maximum amount of posts to be returned on each page.</param> /// <returns>An instance of <see cref="FacebookGetPostsResponse"/> representing the response.</returns> public FacebookGetPostsResponse GetPosts(string identifier, int limit) { return(FacebookGetPostsResponse.ParseResponse(Raw.GetPosts(identifier, limit))); }
/// <summary> /// Gets a list of posts of the user or page matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>An instance of <see cref="FacebookGetPostsResponse"/> representing the response.</returns> public FacebookGetPostsResponse GetPosts(FacebookGetPostsOptions options) { return(FacebookGetPostsResponse.ParseResponse(Raw.GetPosts(options))); }
/// <summary> /// Gets a list of posts of the user or page with the specified <paramref name="identifier"/>. /// </summary> /// <param name="identifier">The identifier (ID or alias) of the user or page.</param> /// <param name="fields">A collection of the fields that should be returned by the API.</param> /// <returns>An instance of <see cref="FacebookGetPostsResponse"/> representing the response.</returns> public FacebookGetPostsResponse GetPosts(string identifier, FacebookFieldsCollection fields) { return(FacebookGetPostsResponse.ParseResponse(Raw.GetPosts(identifier, fields))); }
/// <summary> /// Gets a list of posts of the user or page with the specified <paramref name="identifier"/>. /// </summary> /// <param name="identifier">The identifier (ID or alias) of the user or page.</param> /// <param name="limit">The maximum amount of posts to be returned on each page.</param> /// <param name="until">A timestamp that points to the start of the range of time-based data.</param> /// <param name="fields">A collection of the fields that should be returned by the API.</param> /// <returns>An instance of <see cref="FacebookGetPostsResponse"/> representing the response.</returns> public FacebookGetPostsResponse GetPosts(string identifier, int limit, EssentialsDateTime until, FacebookFieldsCollection fields) { return(FacebookGetPostsResponse.ParseResponse(Raw.GetPosts(identifier, limit, until, fields))); }