I have create an Youtube v3 API key. I have 2 application, in one application it is working. In another I am getting "401 Invalid credential". I tried with 2 different keys and also tried 2 different project with 2 different keys. Still same problem.
I remember when I created an Api Key, I have verify. For second want to do same, but forgot how I did for 1st one.
Can please help me. Thanks in advance.
I solved the problem. Nothing wrong with ApiKey. Before I called Youtube search, I call another service for authentication. it was problem with Cross Domain request (CORS)
Related
I just want to request my viewCount, subscriberCount and videoCount. All these three things are listed when I open this url in my browser.
I am working with JavaScript. All I want to do now is save this three variables and display them on my website. No authentication is needed.
I tried a lot of code examples but it never worked. I have no idea how this works. Please help me!
if you look in the reason of the invalid request it tells you that a key is needed.
In fact, as almost all the google API services nowadays, you need to register your application and get an API key that will replace the value of the parameter key in your url (Now it is set as a demonstration as key=MY_API_KEY).
Here is the link for the guide to app google registration.
Hope this answer can be useful to you.
Im researching about some custom google API and in the site it seems to be running okay. im able to upload the desired file to my own drive account, but when i tried it to my local environment its not working. i already changed the developer's key. the oauth seems to be okay but the developer's key might have a problem. here is the demo that the guy provided. https://howdy39.github.io/google-picker-api-demo/ but when i tried it to my local environment its not working, any of them. here is a sample picture of the problem This happens after the login screen so the auth keys are okay. i dont know what to do with the developer's key. here is the original source code provided. https://github.com/howdy39/google-picker-api-demo/blob/master/docs/index.html
Please check Credentials - API key - Accept requests from these HTTP referrers (web sites).
Try adding localhost.
Can anyone tell me where to get the PAGE_ACCESS_TOKEN??
I try to connect my website using Facebook's Messenger API, but I'm stuck trying to whitelist my domain because it requires a PAGE_ACCESS_TOKEN.
Where can I find my PAGE_ACCESS_TOKEN?
https://developers.facebook.com/docs/messenger-platform/plugin-reference/checkbox-plugin
Please help
Thanks
You need to start reading at the very beginning, donĀ“t just jump in at a random place in the docs: https://developers.facebook.com/docs/messenger-platform/guides/quick-start
Take a look at number 3: "Get a Page Access Token"
I'm trying to use linkedin javascript api, but when I run a script I get an error 'javascript api domain is restricted to localhost'. Does anyone know what is that? Please, help!
Go to https://www.linkedin.com/secure/developer
Click on the application name you're using.
Add your domain to JavaScript API Domains:
Save changes.
This should fix your issue.
1 create a new app on LinkedIn devloper
2.in URL you should write path like this
http://localhost/linkdin/index.php/
then save
after it your problem will be resolve
no matter what I am doing(new account, new site, new app), its not saving any settings. That means I can't add a domain to the whitelist and also, I can't get a public key.
Their own site's Javascript is extreme messy and crashes all over the place. I guess they won't fix all this any time soon. I tried to reach them multiple times through their contact page, but as expected : no response.
I am wondering this is happening only to me. Can anyone confirm this ?
No I am facing the problem of receiving the data at all. I tried JSONP, JSON-REST over a proxy and some other things. When using JSONP without the api key (not the public), I am getting a HTTP 400 error.
Are there any alternatives to receiving the data through their API ? I can't use server side solutions.
well, any hints welcome.
thanks
This sounds like a bug, and you should definitely contact us with your shortname and the browser you're using: http://disqus.com/support/