Retrieving Languages

Provides a list of languages supported by Twitter.

Entity: Help
Type: HelpType.Languages
Parameters/Filters:
None
v3.0 Example:
            var helpResult =
                await
                (from test in twitterCtx.Help
                 where test.Type == HelpType.Languages
                 select test)
                .SingleOrDefaultAsync();

            if (helpResult != null && helpResult.Languages != null)
                helpResult.Languages.ForEach(lang => 
                    Console.WriteLine("{0}({1}): {2}", lang.Name, lang.Code, lang.Status));
v2.1 Example:
            var helpResult =
                (from test in twitterCtx.Help
                 where test.Type == HelpType.Languages
                 select test)
                .SingleOrDefault();

            foreach (var lang in helpResult.Languages)
            {
                Console.WriteLine("{0}({1}): {2}", lang.Name, lang.Code, lang.Status);
            }

Twitter API: help/languages

Last edited Nov 29, 2013 at 3:55 AM by JoeMayo, version 7