Linkedin Javascript SDK - Setting the SDK Domains in the app configuration page has no effect
Asked Answered
W

1

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,

Wry answered 21/5, 2015 at 7:18 Comment(0)
S
0

Try this:

<script type="text/javascript" src="//platform.linkedin.com/in.js">
        api_key:afyXZGKtvrVoXXXX
        authorize: true
 </script>
Seabolt answered 8/7, 2016 at 9:38 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.