All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Restricting YouTube API Key

Status Resolved
Add-on / Version Reel 1.7.1
Severity
EE Version 6.4.13

Boiler Room Digital

Sep 26, 2023

I’m working on updating a site I’ve inherited from another developer, and the client reported that Reel wasn’t working. I tried, and found that the YouTube tab didn’t work - the error was that the API key was over quota. As I don’t have access to the original API key, I just created a new one with access to the YouTube data API. This works fine, as long as I don’t restrict the API key. As soon as I add a restriction (either for website or for IP address) I get a different error, “Requests from referer \u003cempty\u003e are blocked”. Should I just leave it as unrestricted? Is there an issue with doing so? If I should restrict, how should I do so? (By IP? By Website? and if so, what settings should I use?)

Also, should I restrict my API key by the API it can access? If so, I assume it only needs to be “YouTube Data API” for Reel to work?

Thanks.

#1

BoldMinded (Brian)

I’m not an expert with their API settings, so I can’t offer any advice there. Reel doesn’t try to read or consider what the API key has access to, it just makes the request and Google determines if it’s accepted. If you find a setting that works for you, then I’d go with that.

#2

Boiler Room Digital

OK thanks - it’s working at the moment, so I’ll leave it at that and not worry too unless we start seeing issues again. Thanks

Login to reply