在C#应用程序中使用LinkedIn的API [英] Using the LinkedIn API in a C# application

查看:172
本文介绍了在C#应用程序中使用LinkedIn的API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要建一个小的Windows窗体应用程序,我想从企业搜索API访问信息。我甚至不想写什么到配置文件。

I'm building a small Windows Forms application and I want to access information from the company search API. I don't even want to write anything to the profile.

我就打开一个网页浏览器,并询问我的用户在输入一些验证code到我的申请得到。

I've gotten as far as opening a web browser and asking my user to type in some verification code into my application.

这是难以置信的沮丧!有吨样品code在那里为Python和Java,但.NET只是有一些半出炉的工作的演示甚至不建立正确。

This is so incredibly frustrating! There's tons of sample code out there for Python and Java, but .NET just has some half baked working demos that don't even build properly.

我需要你的帮助。

我已经看到了官方 LinkedIn开发者工具包,但该项目甚至不打造!

I've already seen the official LinkedIn Developer Toolkit, but the project doesn't even build!

于是我继续下载了LinkedIn.dll库,理应充当包装来访问数据。

So I went ahead and downloaded the LinkedIn.dll library that supposedly acts as the wrapper for accessing the data.

我如何可以访问使用它的API?我已经有一个API密钥和秘密令牌密钥,无论是保存在我的App.config文件等待被使用。

How can I access the API using it? I already have an API key and a secret token key, both saved in my App.config file waiting to be used.

谢谢!

推荐答案

您可以检查出从的库和工具页面上的LinkedIn开发者门户网站。 工作的C#示例的网友通过我们的社区成员一期工程以及...

You might check out the examples linked to from the Libraries and Tools page on the LinkedIn Developer Portal. The "Working C# example" posted by one of our community members works well...

https://developer.linkedin.com/sites/default/文件/ LinkedInAuth.rar.zip

我们有一些其他的C#的例子还有,但这应该让你开始 - 它得到一个访问令牌,使请求的例子

We have a few other C# examples as well, but this should get you started - it has an example of getting an access token and making a request.

这篇关于在C#应用程序中使用LinkedIn的API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆