コード例 #1
0
 public FacebookPhotosResponse GetPhotos(string name, int limit)
 {
     return(FacebookPhotosResponse.ParseJson(Client.Methods.GetPhotos(name, limit)));
 }
コード例 #2
0
 /// <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)));
 }
コード例 #3
0
 /// <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)));
 }