Пример #1
0
 /// <summary>
 /// Gets a list of photos of the album, user or page with the specified <paramref name="identifier"/>.
 /// </summary>
 /// <param name="identifier">The identifier (ID) of the parent object.</param>
 /// <param name="fields">A collection of the fields that should be returned by the API.</param>
 /// <returns>An instance of <see cref="FacebookGetPhotosResponse"/> representing the response.</returns>
 public FacebookGetPhotosResponse GetPhotos(string identifier, FacebookFieldsCollection fields)
 {
     return(FacebookGetPhotosResponse.ParseResponse(Raw.GetPhotos(identifier, fields)));
 }
Пример #2
0
 /// <summary>
 /// Gets a list of photos of the album, user or page with the specified <paramref name="identifier"/>.
 /// </summary>
 /// <param name="identifier">The identifier (ID) of the parent object.</param>
 /// <param name="limit">The maximum amount of photos to be returned per page.</param>
 /// <returns>An instance of <see cref="FacebookGetPhotosResponse"/> representing the response.</returns>
 public FacebookGetPhotosResponse GetPhotos(string identifier, int limit)
 {
     return(FacebookGetPhotosResponse.ParseResponse(Raw.GetPhotos(identifier, limit)));
 }
Пример #3
0
 /// <summary>
 /// Gets a list of photos of the album, 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="FacebookGetPhotosResponse"/> representing the response.</returns>
 public FacebookGetPhotosResponse GetPhotos(FacebookGetPhotosOptions options)
 {
     return(FacebookGetPhotosResponse.ParseResponse(Raw.GetPhotos(options)));
 }