仅使用用户“id”在linkedIn中发送邀请

时间:2014-05-21 10:28:48

标签: ios objective-c linkedin social-networking

{
  "recipients": {
    "values": [
    {
      "person": {
        "_path": "/people/12345",
       }
    }]
  },
  "subject": "Invitation to connect.",
  "body": "Say yes!",
  "item-content":{
       "invitation-request":{
           "connect-type":"friend",
           "authorization":{
              "name":"NAME_SEARCH", //Want to send authorization token
              "value":"pXCC"}
           }
       }
    }

我在这里引用this链接,他们解释了上面要发送的参数。如何获取授权名称和令牌。

**@"http://api.linkedin.com/v1/people/id=OtheruserId"**

并得到回复..

{
  "firstName": "First name",
  "headline": "Project manager at telecom",
  "lastName": "Lastname",
  "siteStandardProfileRequest": {"url": "http://www.linkedin.com/profile/view?id=285045271&authType=name&authToken=ya_D&trk=api*a3651131*s3722511*"}
}
从这个回复

我得到 id authToken 但是我没有得到authName我怎么能得到它。请帮我修理并告诉我一条正确的道路..

0 个答案:

没有答案