This project has moved. For the latest updates, please go here.

Updating Profile Information

Set various profile information items.
Signature:
public async Task<User> UpdateAccountProfileAsync(
    string name, string url, string location, string description, 
    bool skipStatus)
public async Task<User> UpdateAccountProfileAsync(
    string name, string url, string location, string description, 
    bool includeEntities, bool skipStatus)
Parameters/Filters:
Name Purpose Type Required
description Bio information string no
includeEntities Include Twitter entities (default: true) bool no
location Location string no
name Full name string no
skipStatus Exclude status information bool no
url Web address string no


Return Type: User
v3.0 Example:
            var user = await twitterCtx.UpdateAccountProfileAsync(
                "Joe Mayo",
                "http://linqtotwitter.codeplex.com",
                "Las Vegas, NV",
                "Testing the Account Profile Update with LINQ to Twitter.",
                true,
                true);

            if (user != null)
                Console.WriteLine(
                    "Name: {0}\nURL: {1}\nLocation: {2}\nDescription: {3}",
                    user.Name, user.Url, user.Location, user.Description); 
v2.1 Example:
            var user = twitterCtx.UpdateAccountProfile(
                "LINQ to Tweeter",
                "http://linqtotwitter.codeplex.com",
                "Anywhere In The World",
                "Testing the LINQ to Twitter Account Profile Update.");

            Console.WriteLine(
                "Name: {0}\nURL: {1}\nLocation: {2}\nDescription: {3}",
                user.Name, 
                user.Url, 
                user.Location, 
                user.Description);

Twitter API: account/update_profile

Last edited Nov 29, 2013 at 2:14 AM by JoeMayo, version 15