WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Need API key for YouTube (28 posts)

  1. dtclarinet
    Member
    Posted 7 years ago #

    I have a wordpress blog, self-hosted. But I need an API key. How do I find/get it?

  2. vkaryl
    Member
    Posted 7 years ago #

    Ummmmm. Ask YouTube? Only API key I'm aware of is if you're using akismet....

  3. pazcu
    Member
    Posted 7 years ago #

    same here.... i am desperately seeking a way to post my videos on to my self-hosted wordpress blog... i was able to post to my wordpress blog though with the api assigned to my account.
    However there does not seem to exist one for self-hosted?

  4. vkaryl
    Member
    Posted 7 years ago #

    Take a trip through this post about a plugin - I don't know that it will help you with the api thing, but you never know.....

    http://wordpress.org/support/topic/56433?replies=27

  5. jetshack
    Member
    Posted 7 years ago #

    I'm not trying to be dense here, but...

    I don't have any problem posting YouTube vids to my personally hosted WP blog...

    Just copy in the stuff they have at youtube in the "Embed" field into a new post (in the standard editor, not the wysiwyg), give it a title and publish...

    works for me...

    Am I missing the point of the question entirely?

    (I just tested it on my site to make sure, http://www.jetshack.com)

  6. vkaryl
    Member
    Posted 7 years ago #

    I dunno.... I don't do video at all myself, I was just assuming from the number of posts lately that it IS a problem.... *shrug*

  7. jetshack
    Member
    Posted 7 years ago #

    Not entirelly sure about this, but it seems like to me that at one point this was a problem (maybe sometime around the 1.5 build time frame) but I haven't had any problems with it in any of the 2.x builds...

    once again just me...

  8. gfmorris
    Member
    Posted 7 years ago #

    To clarify dtclarinet's question: for some reason, the WP Self-Hosted option asks for an API key when, well, WP self-hosted installs don't really have them.

    GFM

  9. pescatello
    Member
    Posted 7 years ago #

    i'm with you guys. I'm looking for an API key and can't find one

  10. Chris_K
    Member
    Posted 7 years ago #

    for some reason, the WP Self-Hosted option asks for an API key when, well, WP self-hosted installs don't really have them.

    Huh? I'm self-hosted. Where would I see this YouTube API key request?

  11. andrabr
    Member
    Posted 7 years ago #

    >Huh? I'm self-hosted. Where would I see this YouTube API key request?

    1) Log into your You Tube Account
    2) Go to "My Account"
    3) "Account Settings" -> "Video Posting Settings"
    4) "Add a Blog/Site"
    You will see under Specific Blog Host Requirements "WordPress Self-Hosted: Requires an API key and the API URL (http://your blog's URL/xmlrpc.php)."

    If you select Blog-Service wordpress.com it justs wants Username and Passsword.

    If you select WordPress Self-Hosted it will also demand API URL and API Key.

    So.... where does the API key for self-hosted WordPress come from? Or is this just a collusion between YouTube and WordPress.com to keep people from going Self-Hosted?

  12. vkaryl
    Member
    Posted 7 years ago #

    Try a search using keywords API, endpoint, xmlrpc - there was some stuff a while back about the "API endpoint" and the xmlrpc.php file. Perhaps this is what youtube is really looking for/meaning?

  13. Kafkaesqui

    Posted 7 years ago #

    Here's an idea: Register for a username on wordpress.com, and use the API key that gives you. If it works, then there you go.

    "Or is this just a collusion between YouTube and WordPress.com to keep people from going Self-Hosted?"

    You're joking, right?

  14. The words "API Key" in the YouTube instructions are linked to http://faq.wordpress.com/2005/10/19/api-key/

    I'd say YouTube are confused.

  15. mellocj
    Member
    Posted 7 years ago #

    I've come up with this same problem. Youtube asks for username, password, API Key, API URL. I tried using the API Key from a WordPress.com account, and it just goes to "Getting information from your blog..." and keeps refreshing indefinately.

    Has anyone found a way to get this working?

  16. Ignore what YouTube tell you, and use a plugin such as Viper's Video Quicktags to include YouTube (and other) videos in your posts.

  17. campodipace
    Member
    Posted 7 years ago #

    Hey you guys,

    I think I found the solution:
    Just type in a '0' (zero) in the API-key field (in the YouTube-form), and everything works fine.

    I just posted a sort of arty video of my friend, who talks vaguely about a vague plan... as a proof of concept ofcourse:
    http://nonormalnews.org/blog/2007/02/06/172/

    It's in Dutch, so you might not understand a word he says ;-)

  18. dannlopes
    Member
    Posted 7 years ago #

    Hi guys, none of the messages above resolved the problem.

    I'm a self-hosted too and I'd like to "link" my youtube account to my self-hosted account, so when I post a video to WP, I just need to go to youtube and then post throught there.

    But until now youtube config still with the message "We are fetching your blog information... please wait"

    I have a API key from wordpress.COM and my askimet plugin works fine with that but youtube not.

    How can I add the API key to a specific user o WP?

  19. speechpoet
    Member
    Posted 7 years ago #

    I suspect the problem is at YouTube's end. I can't think of any reason they should be asking for an API key; all they ought to need is all you need for any remote blog posting interface: username, password and XMLRPC URL.

    I've dropped them a note; we'll see if I get a reply, and I'll share it if I do.

  20. ramasan
    Member
    Posted 7 years ago #

    ack. pretty easy guys.

    painfully easy/obvious.

    completely ignore youtube api key registration. no need whatsoever.

    i snooped around and saw lots of people recommending turning off rich editor. dont know if this makes a difference, but i did it anyways.

    create your post. then go to whatever youtube video you want. now the painfully obvious part i was missing - just look for the "embed" text box to the right of the video - top and center. copy and paste this code right into your editor on wordpress.

    publish.

    voila.

    here is an example:
    http://trirunwith.us/coffee-addicts/

  21. jetshack
    Member
    Posted 7 years ago #

    lol... pretty sure that's what I said to do in my first reply...

    must not have said it right!

  22. drmike
    Member
    Posted 7 years ago #

    pretty sure that's what I said to do in my first reply

    *sigh* You get used to it around here.

  23. jeffmcneill
    Member
    Posted 7 years ago #

    Aloha folks, yes what you say is a work around, but not a solution to getting so you can blog directly to your blog from YouTube. That's crazy, I mean why have a "WordPress Hosted" option if it simply doesn't work?

  24. pc0502
    Member
    Posted 7 years ago #

    Hi all, thanks for the tip of copying the embedded-code-and-paste-to-code-editor-tip. It works perfectly saved me a lot of searching time and well, self-doubt...

  25. electrolund
    Member
    Posted 7 years ago #

    The Viper's Video Quicktags plugin worked the best for me. So much simpler than hunting down an API key!

  26. JohnG7
    Member
    Posted 7 years ago #

    I'm getting basically the same thing here... I was asked for the API, so I registered at WP.com for the username only and inserted my API key - it tells me I'm using the wrong username/password on youtube for the blog on my site, which I'm not, so I don't know where to get the API it's asking for...

  27. RoyallyWasted
    Member
    Posted 6 years ago #

    andrabr's post basically answered the question, and for the API key, just leave that field blank, and it will work fine...

  28. andyshine
    Member
    Posted 6 years ago #

    Hi there... It works me with these informations:

    '

    1. Blog Service: WordPress-Self-Hosted
    2. Username: Your Admin for self-hosted site
    3. Password: Your Pswd for self-hosted site
    4. API URL: http://www.blogsite/xmlrpc.php
    5. API KEY: the key received from WordPress.com
      '

      Works fine!

Topic Closed

This topic has been closed to new replies.

About this Topic