C# library and test app for generating access token using embedded WPF browser
C#
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LinkedInOauth
LinkedInOauth.sln
LinkedInOauth.suo
README

README

The code contained includes a test harness as well as the oauth libraries for oauth login dance and Linkein API requests.  Oauth login is handled with an embedded webBrowser which is shown modally for the user to login.  Upon login completion, dialog will be closed and the token and verifier will be available from the dialogs property.

To use the code, simply Add your Linkedin consumer secret and Consumer key to the OauthLinkedIn.cs file:
view source
print?
1	private string _consumerKey = "ENTER_YOUR_CONSUMER_KEY";
2	private string _consumerSecret = "ENTER_YOUR_CONSUMER_SCRET";

Then you can make api calls following a few steps:

1	OAuthLinkedIn _oauth = new OAuthLinkedIn();
2	String requestToken = _oauth.getRequestToken();
3	_oauth.authorizeToken();
4	String accessToken = _oauth.getAccessToken();</div>