Linkedin Javascript SDK - setting SDK domains on the application configuration page does not affect

No matter how hard I try, and regardless of the url format that I provide in the Setting the SDK Domains section of Setting the SDK Domains Linkedin Javascript SDK, I keep getting this error in my console:

Uncaught Error: You must specify a valid JavaScript API Domain as part of this key configuration.

My setup is as simple as possible: <script type="text/javascript" src="//platform.linkedin.com/in.js"> api_key:afyXZGKtvrVoXXXX </script>

I tried all the URL changes in the SDK domains section:

Nothing works, keep getting the same error.

Any advice is appreciated. Thanks,

+8
linkedin-jsapi linkedin
source share
1 answer

Try the following:

 <script type="text/javascript" src="//platform.linkedin.com/in.js"> api_key:afyXZGKtvrVoXXXX authorize: true </script> 
0
source share

All Articles