Example #1
0
 /// <summary>
 /// Gets a list of items from the feed of the 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="IHttpResponse"/> representing the raw response.</returns>
 public IHttpResponse GetFeed(FacebookGetFeedOptions options)
 {
     if (options == null)
     {
         throw new ArgumentNullException(nameof(options));
     }
     if (String.IsNullOrWhiteSpace(options.Identifier))
     {
         throw new PropertyNotSetException(nameof(options.Identifier));
     }
     return(Client.DoHttpGetRequest("/" + options.Identifier + "/feed", options));
 }
Example #2
0
 /// <summary>
 /// Gets a list of items from the feed of the 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="FacebookGetFeedResponse"/> representing the response.</returns>
 public FacebookGetFeedResponse GetFeed(FacebookGetFeedOptions options)
 {
     return(FacebookGetFeedResponse.ParseResponse(Raw.GetFeed(options)));
 }