{
"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我怎么能得到它。请帮我修理并告诉我一条正确的道路..