Uploading video on youtube using api & php

tushar2223

Registered Member
Joined
Aug 3, 2013
Messages
95
Reaction score
14
Hello friends,
title says everytjing.
I'm trying to do this.
I have got this script from net and when I click on "CONNECT ME"
its giving response "Error:invalid_request
Invalid parameter value for redirect_uri: Missing scheme: <YOUR_REDIRECT_URI>"

i have fill the details in
1.client id
2.client secret
3.developer key
4.and given redirect_uri [TABLE="class: p6n-api-key-table, width: 536"]
[TR="class: p6n-api-key-row ng-scope"]
[TH="bgcolor: #F1F1F1"]Redirect URIs[/TH]
[TD]
[/TD]
[/TR]
[/TABLE]
 
To do this you must open port 80. YouTube also needs to connect to you, and if port 80 is not opened you wont be able to do this.
 
Does this link assist you?

stackoverflow.com/questions/14236502/upload-video-to-youtube-using-youtube-api-v3-and-php
 
You can't use localhost for youtube API. Logically, when Youtube servers make a call to localhost it will not be your own server. So either you need to have it on your website or just put a URL that is allowed in your API console or have it set to accept requests from anywhere.
 
Back
Top