• Resolved novolo

    (@novolo)


    Hi All,

    I have installed the plugin in a “MultiSite” installation. From what I have ready, the plugin should be compatible with multisites so I am guessing the issue is not coming from here.

    I tried adding a “Channel Feed” and a “Single video embed”.
    The Channel feed does not show anything but the warning error messages.
    And the single video embed shows the video, but the same warning error at the bottom.

    The error being shown is: “Invalid argument supplied for foreach()”

    As in other cases like this one, it is recomended to clear the cache.
    I have cleared the caché and the error remains.

    Could someone please assist?

    Thank you,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter novolo

    (@novolo)

    UPDATE:

    If I try the following API call I get the below error:

    CALL: https://www.googleapis.com/youtube/v3/channels?part=contentDetails&forUsername=USERID&APIKEY

    {
     "error": {
      "errors": [
       {
        "domain": "usageLimits",
        "reason": "dailyLimitExceededUnreg",
        "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.",
        "extendedHelp": "https://code.google.com/apis/console"
       }
      ],
      "code": 403,
      "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
     }
    }

    I checked and the API has been used 90 times in the past 30 days, which is not even close to the limits.
    Any idea if I am missing any other configuration on google’s side?

    Thank you!

    Thread Starter novolo

    (@novolo)

    UPDATE #2:

    Inside the Key settings, there is a section called “Application Restrictions”
    Where you can restrict the usage from specific websites (HTTP referrers)

    If I activate this and specify my website (with wildcards to consider all subdomains and pages) the plugin stops working and give those “Invalid Parameter” errors.

    If I disable restrictions, the plugin works perfectly.

    Any ideas on how to be able to use the plugin with the API Key http referrers restrictions?

    Thank You!

    Plugin Author slickremix

    (@slickremix)

    Thanks for contacting us. We are not aware of another method to get around that at the moment unfortunately.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Youtube feed displaying Warning – Invalid Argument’ is closed to new replies.