Skip to content

Instantly share code, notes, and snippets.

@nelsonlaquet
Created June 22, 2011 19:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nelsonlaquet/1040907 to your computer and use it in GitHub Desktop.
Save nelsonlaquet/1040907 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
</configSections>
<appSettings>
<add key="AccessToken" value="" />
<add key="AccessTokenSecret" value="" />
<add key="RequestToken" value="" />
</appSettings>
</configuration>
class TwitterSettings
{
public string AccessToken { get; set; }
public string AccessTokenSecret { get; set; }
public string RequestToken { get; set; }
public TwitterSettings()
{
AccessToken = ConfigurationManager.AppSettings["AccessToken"];
AccessTokenSecret = ConfigurationManager.AppSettings["AccessTokenSecret"];
RequestToken = ConfigurationManager.AppSettings["RequestToken"];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment