Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I have followed the instructions listed here in the 10 minute instructions: guide And the help from stackoverflow listed here: stackanswer

I still get this error:

Console.log error:

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

My Code is this:

<script type="text/javascript" src="//platform.linkedin.com/in.js"> api_key:'98eeeu4fd587w4' </script> 

Where the api_key value is the value of Consumer Key / API Key from my app. And for the JavaScript API Domains I listed: http://mediaproof360.com,http://www.mediaproof360.com

After a day of research and trial and error I am hitting a wall.

Help is appreciated greatly. I have created a second app with credentials using that new API but still no luck.

like image 218
S Renzler Avatar asked Feb 13 '15 18:02

S Renzler


1 Answers

You can try this code

<script type="text/javascript" src="//platform.linkedin.com/in.js">     api_key: 98eeeu4fd587w4 </script> 

No quotes with api key will work. Add this section in the <head> element.

like image 170
Rejeesh Avatar answered Sep 23 '22 21:09

Rejeesh