This README outlines what you need to do to get this application up and running.
This project is an example project to show how you can implement Trade Me's OAuth flow using an oauth_callback. You will need to have HTTPS available
- .Net framework for windows
- [OR .Net for Mac] (http://docs.asp.net/en/latest/getting-started/installing-on-mac.html)
- Visual Studio
- Consumer keys for Trade Me Sandbox you should set your application's default callback to the localhost port _ "/oauth/Callback" e.g https://localhost:51172/oauth/Callback (you will need to generate a self signed certificate to enable HTTPS as well, check out google for this)
git clone
this repositorycd TradeMeExampleOAuthApplication
- Open the solution in Visual Studio
- In OauthHeaderData.cs enter your consumer key and secret in the code as the values of 'ConsumerKey' and 'ConsumerSecret'
- Enter the default callback you registered as the value of '_callback' (this must be the same as the one you entered on registration of your application)
- Run the project from Visual Studio and follow the instructions on the homepage of the app