我们有兴趣将LinkedIn整合到我们的CRM数据库中,根据人名和当前公司名称查看人们到底在哪里(更换工作).这可能吗?据我所知,API受链接凭证的限制并且受到他/她连接的限制,这是对的吗?
如果它是正确的,我们可以访问任何LinkedIn API溢价来实现我们想要的吗?
我们知道LinkedIn有一个名为Sales Navigator的产品,基于该演示看起来很可能,但必须首先标记该人或类似的东西.
非常感谢您的反馈意见.
谢谢
目前我正在为网站实施linkedin登录.(关注http://www.raymondcamden.com/2013/04/03/ColdFusion-and-OAuth-Part-2-Facebook/).我已成功登录,但从linkiedin获取用户数据时出现问题.在LinkedIn中创建应用程序时,没有选项可以获得用户网络连接和其他数据的权限.这是一个截图.
当我尝试使用此URL获取用户连接时
https://api.linkedin.com/v1/people/~/connections?oauth2_access_token=#session.liaccesstoken#
我收到以下错误.
当我尝试获取名字,姓氏和电子邮件时,它只获取名字和姓氏,但不是电子邮件地址.
https://api.linkedin.com/v1/people/~:(id,first-name,last-name,maiden-name,email-address)?oauth2_access_token=#variables.accesstoken
任何有想法的人,为什么它不符合api的期望?
我正在使用Linkedin Share Plugin https://developer.linkedin.com/plugins/share
无论我输入什么网址(例如http://linkedin.com或http://salesforce.com),它似乎总是显示0.自美国东部时间星期四(1月11日)下午2:45以来,它一直是这样的.
目前有错误吗?
当我使用socialActions端点检索linkedin共享的社交操作时,我正在使用投影来获取actor信息displayImage~.但它会抛出以下错误,
"displayImage!" :{"serviceErrorCode":100,"message":"没有足够的权限访问:GET-playableStreams/assets/C4E03AQH57nd5w5cWUw/mediaArtifactPublicUrls","status":403}
用于获取社交行为的查询是,
curl 'https://api.linkedin.com/v2/socialActions/urn:li:share:543222277889832/comments?projection=(elements*(*,actor~(*,id,vanityName,profilePicture(displayImage~:playableStreams))))&oauth2_access_token=xxx'
Run Code Online (Sandbox Code Playgroud)
当我使用person端点获取人员详细信息时,我可以得到displayImage~响应.请有人帮我解决这个问题.
从今天开始,我们使用linkedin javascript SDK对用户进行身份验证的应用程序停止了工作.我们意识到,在调用https://platform.linkedin.com/in.js现在重定向到 https://platform.linkedin.com/xdoor/scripts/in.js.
因此,调用IN.User.Authorize(callbackFunction)成功打开身份验证对话框窗口,但不再触发回调.
此外,在我们的应用程序的另一部分中,我们使用IN.UI.Authorize.place().onWindowRemove.subscribe(callbackFunction)跟踪对话框关闭.此功能也停止了措辞,现在打开一个带有url的新窗口,invalid://控制台抛出此错误:
jSecure Error: URL should be absolute with allowed schemas, relative, a hash fragment or query string. TODO?client_id=XXXX&type=user-agent in.js:7
?
jSecure Error: URL should be absolute with allowed schemas, relative, a hash fragment or query string. invalid://?xdOrigin=https%3A%2F%2FXXX-XXX&xdChannel=XXXX&xd_origin_host=https%3A%2F%2FXXXX.XXXX in.js:7
?
jSecure Error: URL should be absolute with allowed schemas, relative, a hash fragment or query string. TODO?client_id=XXXX&type=user-agent
Run Code Online (Sandbox Code Playgroud)
你知道为什么停止工作吗?
编辑:错误再次出现2019年01 28.
我使用Zoonman LinkedIn API PHP SDK来获取有关经过身份验证的用户是管理员的公司的信息,使用以下代码:
$profileCompany = $client->get(
'companies',
['is-company-admin' => "true"]
);
Run Code Online (Sandbox Code Playgroud)
这与API版本V1完美配合.但是,对于V2,它会给出400未找到的错误.我遇到了这样的问题:组织查找API但不确定这是否是正确的端点,因为没有API调用来完全按照上面的代码片段执行操作.
有人可以请求正确的端点吗?
我已经在我的一个应用程序中使用linkedin-sdk实现了LinkedIn登录功能,该应用程序运行良好。从最近几天开始,我无法继续进行错误提示
未设置访问令牌
以前不需要。
随着版本2.0的更新,访问令牌已成为强制性的,开发人员帐户中缺少详细信息。
我以这种方式实现了相同的方法:
private static final String host = "api.linkedin.com";
private static final String url = "https://" + host + "/v1/people/~:(first-name,last-name,email-address,formatted-name,phone-numbers,public-profile-url,picture-url,picture-urls::(original))";
LISessionManager.getInstance(getContext())
.init(getActivity(), buildScope(), new AuthListener() {
@Override
public void onAuthSuccess() {
APIHelper apiHelper = APIHelper.getInstance(getContext());
apiHelper.getRequest(getContext(), url, new ApiListener() {
@Override
public void onApiSuccess(ApiResponse apiResponse) {
try {
//edt_linkedInURL.setText(apiResponse.getResponseDataAsJson().get("publicProfileUrl").toString());
Log.e("Response", apiResponse.getResponseDataAsJson().toString());
setLinkedInData(apiResponse.getResponseDataAsJson());
} catch (Exception e) {
e.printStackTrace();
}
}
@Override
public void onApiError(LIApiError LIApiError) {
Toast.makeText(getContext(), "Profile failed " + LIApiError.toString(), Toast.LENGTH_LONG).show();
}
});
/* Toast.makeText(getActivity(), …Run Code Online (Sandbox Code Playgroud) 也许我遗漏了一些关于 LinkedIn API 端点的信息,但在我看来,Linkedin API 没有用于个人资料(墙)发布的帖子统计(喜欢、评论)甚至自然搜索统计(印象、点击、参与)的端点 URL . 这很奇怪,因为公司 API 为其发布的内容提供了端点和体面的文档。
我知道自 2016 年以来,LinkedIn 已经改变了它的政策。我尝试过/v1/people/~/shares/updates和/v1/people/~/network/updates(2014 年的论坛建议),但它分别给出了错误 400(错误请求)和 403(禁止)。发生这种情况是因为只有通过合作伙伴关系才允许使用网络 API。
有没有办法通过 Linkedin 的任何端点或 url 检索配置文件发布的内容统计信息?
LinkedIn 只是更改 API 并从 v1 切换到 v2。
API v1 提供用于从公司检索数据的端点(即有关公司、公司提要等的信息): https: //developer.linkedin.com/docs/company-pages
API v2中好像没有这个选项?我对吗?
LinkedIn 告知,为了“管理公司页面”,必须参加营销开发人员计划(https://business.linkedin.com/marketing-solutions/marketing-partners/become-a-partner/marketing-developer-program)但尽管如此 - 新的“组织和品牌 API”看起来真的很差,并且提供的信息比旧的少得多:https://docs.microsoft.com/en-us/linkedin/marketing/integrations/community-management/organizations
如果有人知道使用 LinkedIn API v2 检索公司摘要的选项?
我正在尝试在我的 angular 9 应用程序中构建linkedin 登录功能。我将angularx-social-login npm 包用于 google 和 facebook 登录,但它不能用于linkedin。
所以我使用linkedin api来登录。
代码:-
authWindow: any;
linkedInLogin() {
this.createOauthWindow();
}
createOauthWindow(width = 500, height = 600) {
const clientId = 'my_client_id';
const redirectUri = window.location.origin;
const responseType = 'code';
const scope = 'r_liteprofile';
const url = `https://www.linkedin.com/oauth/v2/authorization?client_id=${clientId}&redirect_uri=${redirectUri}&scope=${scope}&response_type=${responseType}`;
const left = (screen.width / 2) - (width / 2);
const top = (screen.height / 2) - (height / 2);
const options = `directories=no, titlebar=no, toolbar=no, location=no, status=no, menubar=no, scrollbars=no, resizable=no,
copyhistory=no, …Run Code Online (Sandbox Code Playgroud) linkedin-api ×10
linkedin ×9
api ×3
oauth-2.0 ×2
android ×1
angular ×1
coldfusion ×1
linkedin-j ×1