Cannot download google credentials json file - gcloud

At this website
https://cloud.google.com/life-sciences/docs/how-tos/getting-started#download_credentials_for_api_access
it says:
After creating your credentials, download the client_secret.json file by going to the Credentials page in the Cloud Console and clicking Download JSON file_download.
The credentials page is hyperlinked. But when you go to that page there is no such button named download json file. Here is a screenshot of the page:
I really wish Google would learn to write clear documentation.
I should also add that the website has the following cryptic instructions:
Use this key in your application by passing it with key=API_KEY parameter.
I don't know what it means to pass a key. If the writers would have provided an example that would certainly have helped. I have the key and that might solve my problem, I just don't know what to do with it.

This may be late, but this may help if anyone is still having this issue
After creating the service account
Select/click the from the account listing
Goto the keys tab
Click Add Key and select create key
Then select JSON and the file will be downloaded
refer here https://cloud.google.com/docs/authentication/getting-started?authuser=1#creating_a_service_account

You haven't made a OAuth credential.
Click Create credentials > Oauth Client ID.
Set the application type to Other and complete the form.
After creating your credentials, download the client_secret.json file by going to the Credentials page in the Cloud Console and clicking Download JSON file_download. Securely store the file in a location that only your application can access.

The write of the documentation linked to the wrong page. He should have linked to
https://console.cloud.google.com/apis/credentials/
But instead linked to
https://console.developers.google.com/apis/credentials
If you can download the json file with the first link then more instructions will be needed. The second link though allows you to download the json file.

After creating the keys and service account, you can download the Json file on the end right side of OAuth key IDs. Check the picture below for the location of the button.

Related

Unable to create dynamic link "An error occurred when creating a new Dynamic Link"

I'm trying to add passwordless email signin to my Firebase app, so the first thing I did was to whitelist my domain:
Next, I tried to create the dynamic link:
At this point, when I pressed the Create button, I got the error. Anyone see what I'm doing wrong?
I also tried what was suggested in this video with the same result.
One last thing and then I've run out of ideas: In the Chrome developer console, I see the Create is failing with an error 400, suggesting that I needed to update the whitelisted URLs. I did that by adding the following URL:
and also
This problem has been driving me crazy. I've tried everything, I think. Makes me wonder if I need to recreate my app in Firebase.
This issue usually means that your pattern doesn't match with your deep link URL.
So if you're trying to add https://pento-2a27b.firebaseapp.com as your deep link, you should have a whitelist pattern similar to ^https://pento-2a27b\.firebaseapp\.com
Let me know if this works.
Firebase Auth only supports custom Firebase Dynamic Links without custom paths.
So if your custom domain is https://example.com/link, it won't work. However, configuring https://example.com as the custom domain will work.
Therefore im thinking the issue is with the URL you are providing
Also take a look at this , it also displays how to create URL .
Firebase says "Domain not whitelisted" for a link that is whitelisted
Give me a response of your outcome :)

Upload action.json file of Google actions via API

I upload my google action file via Gactions CLi but is there any way to upload google action' action.json file via API.?
I don't know what exactly you are trying to say, but I have tried to figure out and answer.
I think you are trying to ask us about how to upload JSON file in api.ai? If yes then you have to follow these steps.
1. Go to api.ai
2. Click on 3 dots beside create intent option.
3. Click on upload intent. [1]: https://i.stack.imgur.com/F08mt.jpg
4. Choose file and upload.
There's one more method.
1. Go to settings of your agent.
2. Go to export/import
3. Click import from zip
4. Select your zip file and upload it.
Yes you can do it by coding. You just need to use the Dialogueflow client api.
For more information please refer below link.
https://developers.google.com/api-client-library/java/apis/dialogflow/v2

Getting a SoundCloud API client ID

Encountered a problem accessing my tracks from browser.
Usually i type this link in my browser to access downloadable tracks:
http://api.soundcloud.com/tracks/294324164/download?client_id=02gUJC0hH2ct1EGOcYXQIzRFU91c72Ea
But now i can not access it anymore, probably the client id is changed.
How can i obtain a new client id?
Thanks.
Simple.. Go to any tracks that you can download on soundcloud, press f12 and look at networks tab, click download and it will show you something like
https://api.soundcloud.com/tracks/322109493/download?client_id=2t9loNQH90kzJcsFCODdigxfp325aq4z&oauth_token=2-274121-85658-y9KQYyZ6qG9oT2uvPq
Grab that client_id, replace it and amend the url from download? to stream?.. use streams? if you want a list of urls in json format
http://api.soundcloud.com/tracks/294324164/stream?client_id=2t9loNQH90kzJcsFCODdigxfp325aq4z
As no one else has mentioned it, in a Chrome-based browser under DevTools ctrl+shift+i, you can grab your client_id from the Network tab on reload. Many items listed here reference the SoundCloud API and require your client_id to access it. Simply click any item in the list that isn't an image/base64 item (preferably something that begins with id?...), then check the Request URL for a client_id.
It's the simplest way to grab the ID; now that you know how, don't do anything illegal k thx.
For those thinking this is the same as the other answer mentioning a download link, this method skips that entirely as many songs are no longer available from SoundCloud itself, but from external sources that are linked instead.
Amazing it's been this long, yet there's no "public" Soundcloud API. I'm amazed to find something worse off than the Twitch API.
See this user's solution for a way to do this without a CLIENT ID which you can no longer get from soundcloud: https://stackoverflow.com/a/27461646/179571
youtube-dl https://soundcloud.com/my-fav-artist
seems to work and pull all tracks as mp3
no client_id needed, if you needed the client_id to get something
like soundcloud-dl to work
You can apply for a client ID by filling in the SoundCloud Application Registration form.

Where must I upload my .unity3d

Ok the problem is when I try to put my "Unity Binary URL" to facebook's developers web page, it shows me an error message saying that my url must ends with .unity3d...
I try to upload it to... MEGA, Drive, OneDrive, DropBox and all of them give me a encripted url like this:
.../open?id=0B9ZOtq4g8KlZNXc5cndQcEY1RVE&authuser=0
(this project is already shared in public)
My Question is... where or how must I upload this file for get the correct url?
I mean .../myfolder/myfile.unity3d ???
for Google Drive youll get a link like this when you hit the share button and make sure its the share link to the WebPlayer folder
https://drive.google.com/folderview?id=0B8mGQfidoAhjeFFiWC1r97s1SlE&usp=sharing
so the real key to this is after the id= part this
0B8mGQfidoAhjeFFiWC1r97s1SlE
you take that key and put it into facebook like this
https://googledrive.com/host/0B8mGQfidoAhjeFFiWC1r97s1SlE/WebPlayer.unity3d

IndexTank: why does InstantSearch ask me for a username and password?

I downloaded the tarball from the IndexTank JQuery Github page and extracted the archive as the instructions told me to.
I edited the test.html file and added my IndexTank public API URL and also my index name as per the instructions.
Then I opened the test.html file in Chrome and tried to use the search field.
So, my question is this:
Why, everytime I search for something, am I prompted with a browser popup asking me to enter in my username and password?
You need to go to your dashboard, click on Manage for your index and enable Public Search API. The option is right below the scoring functions.