Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chris Norwood 91 posts 493 karma points
    May 18, 2019 @ 07:17
    Chris Norwood
    0

    Correct YouTube API Key setting?

    Hi!

    The Our documentation says that the web.config key to use for this is:

    YouTube-Video:ApiKey

    However, the source code suggests that it should actually be:

    YouTube-Umbraco:ApiKey

    Which is the correct key?! without this, it looks like the plugin will just use the default API Key (Which I guess will exceed the quota pretty quickly)?

    Thanks!

  • Tim Woodward 16 posts 66 karma points
    May 21, 2019 @ 09:45
    Tim Woodward
    100

    This caught me out too and I was getting a quota exceeded. The documentation on umbraco.com looks to be wrong.

    According to: https://github.com/warrenbuckley/YouTube-Umbraco/blob/master/YouTube/YouTubeHelper.cs

    Looks like YouTube-Umbraco:ApiKey is the correct key.

  • Chris Norwood 91 posts 493 karma points
    May 21, 2019 @ 15:22
    Chris Norwood
    0

    Thanks Tim - in the end I just added both of them with the same value as I figure it can't do any harm as no other apps will be using those keys...!

Please Sign in or register to post replies

Write your reply to:

Draft