javascript - How to display LinkedIn Sign In button? -
I am trying to create a linked login on my () website, for this I am following the steps I get here :
I followed the steps from 1 to 4, but I got a little bit stuck there. I currently have the following code:
& lt ;! DOCTYPE html & gt; & Lt; Top & gt; & Lt; Script type = "text / javascript" src = "http://platform.linkedin.com/in.js" & gt; Api_key: "7762qdzr8qe7db"; & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; H1 & gt; Sign in with LinkedIn & lt; / H1> & Lt; Script type = "in / login" & gt; Hello, & lt ;? Js = firstName? & Gt; & Lt ;? Js = lastName? & Gt ;. & Lt; / Script & gt; & Lt; / Body & gt; & Lt; / Html & gt; It is supposed to show the sign in with LinkedIn button, but I do not see anything at all. I'm running it on the local host (URL http: //127.0.0.1.1000 / Linkedin ), but during development, this should not be a problem (" during development, 'localhost 'Works! "). In the screenshot below, you will see that I have pasted the API key correctly in the above JS:
And even if I use the local host, below you will see correctly port 5000 (even without a port Tried) List your domains with:
I also got this H Try to put Imel, but it was to no avail (plus I think it should also work on the local host). Does anyone know what I am doing wrong here? Any suggestion will be appreciated!
[edit] The problem has tripled
Go to 127.0.0.1.1000 instead of http: // localhost: 5000 < Li> Remove quotes and semicolons so that the line read api_key: 7762qdzr8qe7db Thanks for all help!
The problem is three times
Instead of 127.0.0.1: 1000 < Li> Go to http: // Localhost: 5000 so that the script looks like this & lt; Script type = "text / javascript" src = "http://platform.linkedin.com/in.js" & gt; Api_key: 7762qdzr8qe7db & lt; / Script & gt;
Comments
Post a Comment