![](/img/trans.png)
[英]How to retrieve full profile of linkedin user via Javascript API
[英]Not able to load Linkedin API via javascript
此代码对我不起作用,不显示错误,没什么...
<script type="text/javascript" src="http://platform.linkedin.com/in.js">
api_key: xxxxxxxxxxx
onLoad: onLinkedInLoad
authorize: true
</script>
<script type="text/javascript">
function onLinkedInLoad() {
IN.API.Raw("/companies/xxxxxxx:(num-followers)");
.result( function(result) { document.getElementById("statusDiv").innerHTML = result; } )
.error( function(error) { /* do nothing */ } );
}
</script>
有人可以帮我吗?
从外观上您很亲近。 根据手册,您是正确的原始方法。 但是看看
IN.API.Raw("/companies/xxxxxxx:(num-followers)");
去除 ”;” 因此显示为:
IN.API.Raw("/companies/xxxxxxx:(num-followers)")
因为我没有用于链接的开发密钥,所以无法验证或进行任何进一步的操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.