I am trying to connect with linkedin in the site in chrome browser its showing the error:
オリジン「 https://platform.linkedin.com 」のフレームがオリジン Web サイトのフレームにアクセスするのをブロックしました。プロトコル、ドメイン、およびポートが一致する必要があります。
オリジン「 https://platform.linkedin.com 」のフレームがオリジン Web サイトのフレームにアクセスするのをブロックしました。アクセスを要求するフレームは「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.