Authorize LinkedIn API access in window application [closed]
I am creating a wind开发者_开发问答ows application in C# and I want to search the profiles in LinkedIn. How can I handle the authorization?
LinkedIn supports OAuth, so you can start from there. Here's an example from their site.
You can webclient to pass datas to the linked in url
WebClient wc = new WebClient();
//call URL with your data
var res = wc.UploadData("linkedinurl", System.Text.Encoding.ASCII.GetBytes(querystrings));
//parse the returned results
var result= System.Convert.ToInt32(Encoding.ASCII.GetString(res));
If LinkedIn supports OAuth you can check my FriendFeed Win Mobile application. I developed it with C# and Win Mobile 6.0 SDK and used OAuth to use FF Api.
http://ffwinmobile.codeplex.com/SourceControl/list/changesets
精彩评论