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