/// <summary> /// Gets a list of events for a 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="FacebookGetEventsResponse"/> representing the response.</returns> public FacebookGetEventsResponse GetEvents(FacebookGetEventsOptions options) { return(FacebookGetEventsResponse.ParseResponse(Raw.GetEvents(options))); }
/// <summary> /// Gets a list of events of a user or page with the specified <paramref name="identifier"/>. /// </summary> /// <param name="identifier">The ID or name of the user/page.</param> /// <param name="limit">The maximum amount of events to return.</param> /// <returns>An instance of <see cref="FacebookGetEventsResponse"/> representing the response.</returns> public FacebookGetEventsResponse GetEvents(string identifier, int limit) { return(FacebookGetEventsResponse.ParseResponse(Raw.GetEvents(identifier, limit))); }