I'm currently working on an app that requires video uploading via youtube. I plan to share the video in app via the the youtube API. According to the documentation to share a video on youtube requires "approximately 16000 units.", with each app having a complementary quota of 5 million allowing aprox. 312 video posts a day.
This app will have thousands of users so the "complementary" quota limit most definitely won't be enough, in the app dashboard when pressing "Request more..." the following message is displayed: "We Are Not Approving Quota Requests."
Obviously there are many apps out there with millions of users such as "Social cam" or "Talking Tom" that would be exceeding the complementary quota.
So my question is how can app increase its quota? If it is paid for what is the pricing structure?
Actually, Now a days the quota cost for uploading videos is about 1600 per video upload. And the quota limit is also decrease by 100000 per day. For uploading 312 videos per day can cost 312*1600=499200. Which is less than 100000 quota limit. But if you want more videos to be uploaded you can increase data limit by little knowledge of php.
$rand_keys = array_rand($num);
$comm=$num[$rand_keys];
Where $num is an array that contains keys, Whatever number you want. Each new request go to the next api key. By making 10 keys you can get 10 times than limit also. Other wise you have to apply for quotas.
Related
I am working on a YouTube channel where I have to upload thousands of short videos. To automate the boring process I decided to write a Python program that can upload all my videos and set appropriate tags, descriptions etc.
I created a Project in Developers console created API clients acquired appropriate credentials, requested and got my daily API Usage quoted extended to 500,000 units every day.
Now that I started uploading videos I am facing a different problem, i.e. the number of videos i can upload in one day. After every 100 clips i get Auth errors which say i have exceeded the daily limit of number of videos i can upload.
I want to know why is there a limit on the number of videos if i have decent API usage quota to spare.
I registered in the google console, created my project and enabled youtube api v3.
I uploaded videos from a server, I did it via Oauth2 (from my account). I confirmed it for the first time, received a refresh token and now just update the access token to upload the video.
The problem is in quotas: I read that youtube provides a quota of 1,000,000 (one million) units per day, to download a video to spend + -1600, but for some reason I have a limit of 3,000,000 (three million), BUT at the same time 10,000 is written per day . And ten thousand - this is 6 videos of all.
Could you explain to me what all the quotas are and why I only have 10,000 per day?
In the first screenshot, we can see that only 11,184 units out of 3,000,000 were spent.
and on the second that almost the entire limit was spent (almost 10,000)
*I want to upload video from the server to YouTube automatically.
Through my user.
first screen
second screen
I am trying youtube API to get the number of videos using the call
https://www.googleapis.com/youtube/v3/channels?part=statistics&id=[id]&key=[key]
However, there is a mismatch in the number of uploaded videos. There are 178 videos uploaded in the channel and the channel statistics API is showing 177.
Why is the difference of 1 count?
UPDATE
After 3 days, I got the correct count from channel statistics API.
Still, the question is "Is there a chance to get the difference?"
If that is the case, I would prefer to use the number of videos uploaded instead of the channel statistics.
Watch time report shows the following data collected from youtube.com, the video watch page, mobile Youtube apps (some data is only available from youtube.com).
Note: Analytics views data is based in Pacific Standard Time, updated once a day, and has a delay of up to 72 hours. The numbers you
see in Analytics reports might be different from the numbers you see
on the video page, channel page, Video Manager, or other sources.
Then I suggest that you use the number of videos uploaded.
How does Socialblade generate the live subscriber count with the youtube api?
It updates every second for each channel. Wouldn't that easily exceed the rate limit?
From their app store description, they state they're pulling from the youtube api:
View your favorite YouTubers live sub counter
and get real-time updates every second direct from YouTube's API.
No more having to wait hours for the number on your channel to update!
It doesn't exceed their ratelimit.
It has a quota cost of 1 point. You can use 30,000 quota units/second/user and 1,000,000 per day. 50M if your application was made before April 20, 2016.
YouTube's API documentation states that there is a 2000 video limit on uploads.
Since I doubt that YouTube would wave the limit (prior to being able to show we are a profitable partner to them), we need an alternative that allow thousands of very short video clips.
Vimeo might allow this (if the size of the videos is reasonable). They work on a total storage basis.