Beispiel #1
0
 /// <summary>
 /// Gets information about the photo with the specified <paramref name="identifier"/>.
 /// </summary>
 /// <param name="identifier">The identifier (ID) of the photo.</param>
 /// <param name="fields">A collection of the fields that should be returned by the API.</param>
 /// <returns>An instance of <see cref="FacebookGetPhotoResponse"/> representing the response.</returns>
 public FacebookGetPhotoResponse GetPhoto(string identifier, FacebookFieldsCollection fields)
 {
     return(FacebookGetPhotoResponse.ParseResponse(Raw.GetPhoto(identifier, fields)));
 }
Beispiel #2
0
 /// <summary>
 /// Gets information about the photo 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="FacebookGetPhotoResponse"/> representing the response.</returns>
 public FacebookGetPhotoResponse GetPhoto(FacebookGetPhotoOptions options)
 {
     return(FacebookGetPhotoResponse.ParseResponse(Raw.GetPhoto(options)));
 }
Beispiel #3
0
 /// <summary>
 /// Gets information about the photo with the specified <paramref name="identifier"/>.
 /// </summary>
 /// <param name="identifier">The identifier (ID) of the photo.</param>
 /// <returns>An instance of <see cref="FacebookGetPhotoResponse"/> representing the response.</returns>
 public FacebookGetPhotoResponse GetPhoto(string identifier)
 {
     return(FacebookGetPhotoResponse.ParseResponse(Raw.GetPhoto(identifier)));
 }