Skip to content

Account Settings

linvi edited this page Mar 12, 2016 · 6 revisions

Overview

Twitter gives you the possibility to get and set some of an authenticated user settings.

Let's code

Get Account Settings

// Get the twitter settings for the authenticated user
var userSettings = authenticatedUser.GetAccountSettings();

Update Account Settings

var parameter = new AccountSettingsRequestParameters()
{
    Languages = new List<Language> {Language.English, Language.French},
    // ... 
};

var newAccountSettings = Account.UpdateAccountSettings(parameter);
Clone this wiki locally