1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Uploading video on youtube using api & php

Discussion in 'PHP & Perl' started by tushar2223, Feb 24, 2014.

  1. tushar2223

    tushar2223 Registered Member

    Joined:
    Aug 3, 2013
    Messages:
    95
    Likes Received:
    14
    Gender:
    Male
    Occupation:
    Student
    Location:
    India
    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 [TR="class: p6n-api-key-row ng-scope"] [TH="bgcolor: #F1F1F1"]Redirect URIs[/TH] [/TR]
     
  2. NichoTheMan

    NichoTheMan Newbie

    Joined:
    Mar 6, 2014
    Messages:
    7
    Likes Received:
    0
    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.
     
  3. rumbis

    rumbis Newbie

    Joined:
    Jul 8, 2012
    Messages:
    17
    Likes Received:
    0
    can i have the script ? ^^
     
  4. papercut

    papercut Junior Member

    Joined:
    Feb 22, 2015
    Messages:
    135
    Likes Received:
    7
    Does this link assist you?

    stackoverflow.com/questions/14236502/upload-video-to-youtube-using-youtube-api-v3-and-php
     
  5. dineshag

    dineshag Newbie

    Joined:
    Jul 10, 2015
    Messages:
    14
    Likes Received:
    0
    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.