在mvc 4 c中整合Linkedin# [英] Linkedin integration in mvc 4 c#

查看:86
本文介绍了在mvc 4 c中整合Linkedin#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮我联系一个人的链接

推荐答案

不要发布整个项目解决方案的问题。

在谷歌搜索找到解决方案。

在这里,我给了你一个帮助你项目的链接。



1)Linkedin有一个基于REST的API - http://developer.linkedin.com/docs/DOC-1258



你可以创建一个HttpWebRequest,指向一个REST端点,并根据需要解析响应。



Don't post question for entire project solution .
Search in google to find a solution for that.
Here, i gave you a link to help for your project.

1) Linkedin have a REST based API - http://developer.linkedin.com/docs/DOC-1258

You can create a HttpWebRequest, pointed at a REST endoint, and parse the response however you wish.

// Create the web request  
HttpWebRequest request = WebRequest.Create("http://api.linkedin.com/v1/people/~/connections/") as HttpWebRequest;  

// Get response  
using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)  
{  
    // Get the response stream  
    StreamReader reader = new StreamReader(response.GetResponseStream());  

    // Console application output  
    Console.WriteLine(reader.ReadToEnd());  
}  


这篇关于在mvc 4 c中整合Linkedin#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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