LinkedIn API 连接问题
Linkedin API Connection Issue
I am trying to connect with linkedin in the site in chrome browser its showing the error:
阻止了源"https://platform.linkedin.com"的框架访问具有源网站的框架。协议、域和端口必须匹配。
阻止了源"https://platform.linkedin.com"的框架访问具有源网站的框架。请求访问的框架将"document.domain"设置为"linkedin.com",但正在访问的框架没有。两者都必须将"document.domain"设置为相同的值才能允许访问。法典:
<script type="text/javascript" src="https://platform.linkedin.com/in.js">
api_key: hjltf4pxjaa3
scope : r_basicprofile,r_fullprofile,r_network,rw_groups,r_emailaddress,w_messages
onLoad: onLinkedInLoad
authorize: false
credentials_cookie: true
</script>
<script type="text/javascript">
function onLinkedInAuth(){
$.blockUI();
IN.API.Profile("me")
.fields("id","firstName","lastName","email-address","headline","pictureUrl","location:(name)","industry","positions","current-status","current-status-timestamp","last-modified-timestamp","associations","honors","interests","publications","patents","languages","skills","certifications","educations","courses","three-current-positions","three-past-positions","num-recommenders","recommendations-received","following","date-of-birth","connections","group-memberships")
.result(displayProfiles);
}
Please help me out. Thanks in advance.
我认为这是一个 chrome 问题,请尝试使用火狐
相关文章:
- Javascript连接元素,出现问题
- 在html中连接图像和描述时出现问题
- 将.schie Javascript函数连接到我的HTML时出现问题
- ASP.NET-连接html、javascript和CSS的问题
- NodeJs 套接字连接问题
- 使用JavaScript连接字符串有什么问题
- 检测 iframe 中的连接问题
- 以下jQuery字符串连接代码有什么问题
- 使用 sequelize ORM 连接到节点上的 Amazon RDS Postgres 数据库.js出现问题
- 加载资源时出现 OpenTok JS 连接超时问题
- JavaScript 谷歌地图折线 :连接所有给定的 GPS 位置时出现问题
- 使用 grunt requirejs 与单个大型缩小文件连接缓慢时加载问题
- Node 和 MySQL - 解决“连接过多”问题
- 实时连接小程序问题
- NodeJS MongoDB 连接字符串问题
- 使用IONIC的IOS没有网络连接功能问题
- Windows Live API连接问题
- LinkedIn API 连接问题
- webrtc通过websocket客户端/服务器连接问题
- 流程图问题连接条形图和线形图