Update Web.config
to add app token, OAuth1 consumerkey, consumersecret OAuth2 clientId, clientSecret and a valid filepath for logging.
This sample has two projects, one that demonstrates migration from OAuth1 to OAuth2 tokens standalone and the other which uses .Net SDK
- Build solution
- Put a break point on Page_Load method for the project you're running
- Run solution
- Go through the OAuth1 flow first to get OAuth1 Access token, Access token secret and realm id
- Step through the code to get OAuth2 Access and Refresh tokens