【发布时间】:2017-03-16 17:42:30
【问题描述】:
在尝试使用 LinkedIn 共享 API 时,我成功创建了一个应用程序并授予该应用程序的所有权限,例如,r_basicprofile、r_emailaddress、rw_company_admin、w_share。
我的正文内容如下-
{
"content": {
"title": "The title",
"description": "the description",
"submittedUrl": "GAVE_MY_URL",
"submittedImageUrl": "GAVE_My_IMAGE_URL"
},
"comment": "demo comment",
"visibility": {
"code": "anyone"
}
}
我的标题是 -
Content-Type: application/json
x-li-format: json
Authorization: Bearer GAVE_MY_ACCESS_TOKEN
每次我发出请求时,我都会收到以下响应 -
{
"errorCode": 0,
"message": "Access to posting shares denied",
"requestId": "GZTBG1IZ2L",
"status": 403,
"timestamp": 1478159135348
}
注意:我尝试过 POSTMAN 和 PHP cURL。
任何人都可以帮助我....提前谢谢。
【问题讨论】: