I am following Trello's API documentation. I already change my key where it should go
Question 1: Does my key has to be between '{' and '}'
<script src="https://api.trello.com/1/client.js?key={MyKey}"></script>
obviously I'm replacing "MyKey" by my actual key
This is my code to call authentication (same as Trello's API documentation)
<script>
var authenticationSuccess = function () { console.log('Successful authentication');
};
var authenticationFailure = function () { console.log('Failed authentication');
};
window.Trello.authorize({ type: 'popup', name: 'Getting Started Application', scope: { read: 'true', write: 'true'
}, expiration: 'never', success: authenticationSuccess, error: authenticationFailure
});
</script>
So, when I run the script I get "App not found" (image1)
It should return a Trello confirmation page.
Question 2: How do I fix this?
Some tips: when I get my Key at Trello, they show a message to add my origin (image2)
Question 3 :Do I have to add this Origin Info?
Question 4 : If I'm working locally (on my pc) what should I put on the origin field? (I'm using ubuntu 20.04 - firefox)
@José_Chavez you need to replace {MyKey} with your actual key, ie. there should be no {} in the resulting url
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.