Try YouTube API request and response - youtube-data-api

I am trying to use YouTube Data API (https://developers.google.com/youtube/v3/docs/playlists/list), but, now, it doesn't run. I used it a few weeks ago, and all was good.
This is the error that I get .
When I click on the list (by channel ID), this is the response:
I want to use YouTube API for my web app. What can I do?
How can I solve this problem?
Thank you! 😊

Related

Youtube Data api search.list order not working

Sorting videos from a channel over method search.list stopped working for about three days back.
I tried too in Api explorer from google on web:
https://developers.google.com/apis-explorer/?hl=en_US#p/youtube/v3/youtube.search.list?part=snippet&channelId=UCPvnjqveFmBfTWBVShPIcZg&maxResults=5&order=rating&_h=10
Can this be solved on my side?
Is there another way to get all the videos from the channel to be returned via api?
This is an issue of Youtube Data API.
Already reported this issue by someone on Google forum and below is reply from Google employee:
https://support.google.com/youtube/thread/2494861?msgid=2520468
YouTube is aware the search/sorting functions aren't working as
expected – this is temporary and part of our efforts to better
respond, review and remove graphic, violative content from YouTube.
Thanks for your patience while we work through this. Will update this
thread when these features are working normally again, feel free to
subscribe for updates.
Also, Bugs are reported for this on issue tracker:
https://issuetracker.google.com/issues/128673031
https://issuetracker.google.com/issues/128673552
Both issue have comment from Google employee as below:
Thank you all for bringing this up here. These specific filters have been currently disabled on both YouTube.com and through the APIs.
We should have updates on this soon. Thanks again.
Update on 27/3:
Now it's working normally again, as per threads.

My Google API keeps returning a limit reached error, when I am sure I am under the limit

I am currently building a NodeJS backend app that is querying the Google Calendar API. I have setup a new project on Google Cloud API platform and have generated all the required credentials. As stated by the google calendar API page, the allowed queries per day is 1,000,000. Since I am only querying for testing purposes at the moment, I am sure that I haven't even hit a 100. Yet whenever I try to query the API it returns the error:
"The API returned an error: Error: Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
Also I have noticed that the dev console has generated a API key for me. Where am I supposed to put that?
My initial thinking is that Google API requires me to perform an additional signup using some CLI tools or something along those lines to signup. If not, where am I supposed to sign up?
Thanks in advance.
Note: I already have all the information from the cloud platform such as client_id, client_secret, project_id.
In "Error: Daily Limit for Unauthenticated Use Exceeded", they key word is Unauthenticated. Your request to the Calendar API is missing an OAuth Access Token. You will need to research Google OAuth.
This question has been answered many times. Please learn how to search SO for similar questions whenever you post a new question. https://stackoverflow.com/search?q=google+oauth+%22daily+limit+for+unauthenticated%22
To anyone who comes across this post in the future. I fixed the issue by using the project generated by Google Calendar API site (https://developers.google.com/calendar/quickstart/nodejs) by clicked the big blue "Enable the google calendar api" and then changing the name of the quickstart project that was generated. I don't know why it works now but it does and it's been working quite stably so far. Lets see how to goes.

Error in Google finance API

I want to convert currencies using google finance api. But its not working in my local machine(India).
It works fine when I hit from one server located in USA and provides proper result.
Url : https://finance.google.com/finance/converter?a=1&from=ZAR&to=USD&meta=53336452-3e60-4fa1-9740-9ef8ea9e9118
Can anyone please help me to work this api properly in my local machine?
Any help will be appriciated
Thanks.
I was facing the similar issue (Google Converter API suddenly not
working)
As per my finding, I got the solution and conclude here that Google recently update the finance API.
The below link is work for me
Latest URL: https://finance.google.com/bctzjpnsun/converter
file_get_contents("https://finance.google.com/bctzjpnsun/converter?a=$amount&from=$from_Currency&to=$to_Currency");

Activities API call not returning correct results

The below api call used to return a feed of results that would have been on my homepage.
https://content.googleapis.com/youtube/v3/activities?home=true&maxResults=50&part=id%2Csnippet%2CcontentDetails&key=AIzaSyC0wL6aecu2rxiTNtW8uvtnb1kx9Kdlb4s
In the past day or so the feed I get has changed to be only videos from some channel called "Popular on YouTube".
Does anyone know why this API call changed? Is it a bug? Is there a different way to get an authenticated user's activity feed?
It turns out the home parameter for the activities api endpoint has been deprecated.
https://developers.google.com/youtube/v3/docs/activities/list
Sounds like you must have been using a shared API key.
Either case, "Popular on Youtube" is a Youtube channel by Youtube. Something has broken functionality and I believe it is referrer issue. With that, I suggest getting a new API Key.
You can learn more about and getting a free personal API Key, if you haven't done so. https://developers.google.com/youtube/v3/docs/errors

Sorry, an error occurred while processing this request in Instagram API creation of new client

I am developing a magento site, I want to do instagram login in my website. I tried to create API in instagram but it displays Sorry, an error occurred while processing this request. I have searched in google but did not get a solution to resolve it.
Don't know how to resolve this?
Can anyone guide me for creating an api in instagram?
Thanks in advance
I am also having this issue today. After several hours of troubleshooting, I believe Instagram is having API issues.
I have tried setting up subscriptions using their /subscribe endpoint, which are currently working, and all are returning 'Unable to reach callback URL' as well.

Resources