[英]Fetch Linkedin Updates without user login
Current Situation现在的情况
Currently I am working on a website that wants to show Linked-in updates like BBC, CNN .目前,我正在一个网站上工作,该网站希望显示 BBC、CNN 等链接更新。 I have been able to fetch updates in Facebook, Twitter, Instagram using Curl function, where user authentication was not required.我已经能够使用 Curl 函数在 Facebook、Twitter、Instagram 中获取更新,其中不需要用户身份验证。
In my previous project,I used simplelinkedin.class.php but there user authentication was required, for API call.在我之前的项目中,我使用了 simplelinkedin.class.php 但需要用户身份验证,用于 API 调用。
I tried CURL Linkedin API request, but returned with following error:我尝试了 CURL Linkedin API 请求,但返回以下错误:
{
"errorCode": 0,
"message": "Unknown authentication scheme",
"requestId": "VXUUCSY47F",
"status": 401,
"timestamp": 1435036033638
}
Questions问题
LinkedIn does not have the option like facebook and twitter. LinkedIn 没有像 facebook 和 twitter 这样的选项。 You will need user authentication, access token to make a request to Linked-in API.您将需要用户身份验证、访问令牌才能向 Linked-in API 发出请求。 I hope this answers your first question.我希望这能回答你的第一个问题。
Did you read the official documentation你看官方文档了吗
Its says 'Your API call will return a 403 Forbidden error if you do not have the appropriate admin permission to interact with the target company'.它说“如果您没有与目标公司交互的适当管理员权限,您的 API 调用将返回 403 Forbidden 错误”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.