public FacebookPhotosResponse GetPhotos(string name, int limit) { return(FacebookPhotosResponse.ParseJson(Client.Methods.GetPhotos(name, limit))); }
/// <summary> /// Gets the photos of the specified album, page or user. /// </summary> /// <param name="identifier">The ID or name of the album, page or user.</param> /// <param name="limit">The maximum amount of photos to return.</param> public FacebookPhotosResponse GetPhotos(string identifier, int limit = 0) { return(FacebookPhotosResponse.ParseJson(Raw.GetPhotos(identifier, limit))); }
/// <summary> /// Gets a list of photos of the album, user or page with the specified <code>identifier</code>. /// </summary> /// <param name="identifier">The ID or name of the album, page or user.</param> /// <param name="options">The options for the call to the API.</param> public FacebookPhotosResponse GetPhotos(string identifier, FacebookPhotosOptions options) { return(FacebookPhotosResponse.ParseResponse(Raw.GetPhotos(identifier, options))); }