Example #1
0
 /// <summary>
 /// Gets information about accounts associated with the current user by calling the <c>/me/accounts</c>
 /// method. This call requires a user access token as well as the <c>manage_scope</c>.
 /// </summary>
 /// <param name="limit">The maximum amount of albums to be returned per page.</param>
 /// <param name="after">The cursor pointing to the last item on the previous page.</param>
 /// <returns>An instance of <see cref="FacebookGetAccountsResponse"/> representing the response.</returns>
 public FacebookGetAccountsResponse GetAccounts(int limit, string after)
 {
     return(FacebookGetAccountsResponse.ParseResponse(Raw.GetAccounts(limit, after)));
 }
Example #2
0
 /// <summary>
 /// Gets information about accounts associated with the current user by calling the <c>/me/accounts</c>
 /// method. This call requires a user access token as well as the <c>manage_scope</c>.
 /// </summary>
 /// <param name="limit">The maximum amount of albums to be returned per page.</param>
 /// <param name="fields">A collection of the fields to be returned by the API.</param>
 /// <returns>An instance of <see cref="FacebookGetAccountsResponse"/> representing the response.</returns>
 public FacebookGetAccountsResponse GetAccounts(int limit, FacebookFieldsCollection fields)
 {
     return(FacebookGetAccountsResponse.ParseResponse(Raw.GetAccounts(limit, fields)));
 }
Example #3
0
 /// <summary>
 /// Gets information about accounts associated with the current user by calling the <c>/me/accounts</c>
 /// method. This call requires a user access token as well as the <c>manage_scope</c>.
 /// </summary>
 /// <returns>An instance of <see cref="FacebookGetAccountsResponse"/> representing the response.</returns>
 public FacebookGetAccountsResponse GetAccounts()
 {
     return(FacebookGetAccountsResponse.ParseResponse(Raw.GetAccounts()));
 }
Example #4
0
 /// <summary>
 /// Gets information about accounts associated with the current user by calling the <c>/me/accounts</c>
 /// method. This call requires a user access token as well as the <c>manage_scope</c>.
 /// </summary>
 /// <param name="limit">The maximum amount of albums to be returned per page.</param>
 /// <returns>An instance of <see cref="FacebookGetAccountsResponse"/> representing the response.</returns>
 public FacebookGetAccountsResponse GetAccounts(int limit)
 {
     return(FacebookGetAccountsResponse.ParseResponse(Raw.GetAccounts(limit)));
 }
Example #5
0
 /// <summary>
 /// Gets information about accounts associated with the current user by calling the <c>/me/accounts</c>
 /// method. This call requires a user access token as well as the <c>manage_scope</c>.
 /// </summary>
 /// <param name="options">The options for the call to the API.</param>
 /// <returns>An instance of <see cref="FacebookGetAccountsResponse"/> representing the response.</returns>
 public FacebookGetAccountsResponse GetAccounts(FacebookGetAccountsOptions options)
 {
     return(FacebookGetAccountsResponse.ParseResponse(Raw.GetAccounts(options)));
 }