8

No matter how hard I try, and no matter the url format I'm giving in the Setting the SDK Domains section of the 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's configuration.

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

I've tried all the URL variations in the SDK Domains section:

Nothing worked, keep getting the same error.

Any advice appreciated. Thank you,

valentinvieriu
  • 547
  • 5
  • 9

1 Answers1

0

Try this:

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