Closed amosbird closed 6 years ago
Do you use docker-compose or start with docker commands? Does your account (of the token) have access to the app with that id? Looks like there is something wrong with the token.
Do you use docker-compose or start with docker commands?
I used docker-compose command.
Does your account (of the token) have access to the app with that id?
Um, I'm not sure. How can I test that?
You've generated OAuth token for some account by opening URL as it described here: https://tech.yandex.com/oauth/doc/dg/reference/console-client-docpage/ And also your OAuth application should request access for reading AppMetrica data.
I don't get it. This is the client I've created
and this appmetrica application
What else should i do then?
You need to generate OAuth token for this client (it's not an ID or a password from your screenshot). Also, API_KEYS
should be ["962757"]
.
You need to generate OAuth token for this client
Oh, ok. But I don't find the place to generate this...
Open this URL(use your client ID):
https://oauth.yandex.com/authorize?response_type=token&client_id=<application ID>
from here: https://tech.yandex.com/oauth/doc/dg/tasks/get-oauth-token-docpage/
Thanks! I'm making progress now
So what callback url should I setup?
See this page: https://tech.yandex.com/oauth/doc/dg/tasks/register-client-docpage/
You should have been clicked Set URL for development
when you were creating a client.
Thanks!
Hi, I'm trying to test this in my local machine. I followed the tutorial, generated an OAuth key and an application id. After filling them into
TOKEN
andAPI_KEYS
I gotIs there a more elaborate tutorial for this? Or is there a sample database that I can test directly? Thanks.