when i am trying to write code for login with linkedin i am getting error like the below.
Uncaught Error: You must specify a valid JavaScript API Domain as part of this key's configuration.
Below is my JavaScript code
<script type="text/javascript" src="//platform.linkedin.com/in.js">
api_key: ######//keep it secret
authorize: true
onLoad: onLinkedInLoad
</script>
<script type="text/javascript">
// Setup an event listener to make an API call once auth is complete
function onLinkedInLoad() {
IN.Event.on(IN, "auth", getProfileData);
}
// Handle the successful return from the API call
function onSuccess(data) {
// Pre-populate your form fields here once you know the call
// came back successfully
}
// Handle an error response from the API call
function onError(error) {
console.log(error);
}
// Use the API call wrapper to request the member's basic profile data
function getProfileData() {
IN.API.Raw("/people/~:(firstName,lastName,emailAddress)").result(onSuccess).error(onError);
}
</script>
In an article on browser plugin development, they use this code: window.browser = (function () { return window.msBrowser || window.browser || window.chrome; })(); Why would they use an ...
In an article on browser plugin development, they use this code: window.browser = (function () { return window.msBrowser || window.browser || window.chrome; })(); Why would they use an ...
Implementing something based on a pathetic documentation without no info nothing. The example is just this (7F02AAF7)H => (F7AA027F)H = -139853185 Let's say even if I convert 7F02AAF7 to ...
Implementing something based on a pathetic documentation without no info nothing. The example is just this (7F02AAF7)H => (F7AA027F)H = -139853185 Let's say even if I convert 7F02AAF7 to ...
So I'm working on a list that you can scroll through by clicking on buttons. And it also needs to have a scrollbar visible and working too. But I don't know how to edit my code to get them both to ...
So I'm working on a list that you can scroll through by clicking on buttons. And it also needs to have a scrollbar visible and working too. But I don't know how to edit my code to get them both to ...
Following are returned Json data from server: $scope.cities = response.data; is: 0: {id: 1, name: "Malaysia",…} city: [{id: 1, country_id: 1, city: "Kuala Lumpur"}, {id: 2, country_id: 1, city:...
Following are returned Json data from server: $scope.cities = response.data; is: 0: {id: 1, name: "Malaysia",…} city: [{id: 1, country_id: 1, city: "Kuala Lumpur"}, {id: 2, country_id: 1, city:...