• Resolved jlacroix1982

    (@jlacroix1982)


    Every day, my channel is hitting the API quota. When this happens, it starts working the next day (it’s working now) but typically by the evening, the page just reads “loading…” and no thumbnail loads.

    I’m a bit confused why the quota keeps getting hit. Isn’t it supposed to cache everything it downloads, and the only thing it would need the API is to download info regarding new videos?

    I searched for more in-depth documentation on how the settings of YourChannel impact the quota, but unless my Google skills are terrible these days, I’m not finding anything. Perhaps it’s just a matter of changing the settings. But still, shouldn’t it just download info once and then only hit the API for new content? How is it that the Quota can be saturated so easily by one plugin?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author plugin.builders

    (@pluginbuilders)

    Hi, your API Key is restricted to a URL but it’s not correct, so it’s not caching. It’s calling API on every page load. What do you have in the HTTP Referrer field in Restriction section at Google API Key settings? Try unchecking the HTTP Referrer checkbox.

    Thread Starter jlacroix1982

    (@jlacroix1982)

    What I have for HTTP referrer is:
    learnlinux.tv*
    https://www.learnlinux.tv

    I’ll try unchecking the checkbox.

    Thread Starter jlacroix1982

    (@jlacroix1982)

    Unfortunately, even after the changes the problem is still happening. As I type this, the page just says “loading…” and will never load anything. It’s 10:33pm my time right now, and it’ll probably start working again after midnight. But I would much rather it work all the time.

    Plugin Author plugin.builders

    (@pluginbuilders)

    Hi, it seems to be trying to fetch videos with a sorting parameter of latest, but YourChannel doesn’t use that parameter anywhere, did you manually change it somewhere? This causes error and YourChannel again loads videos with its own parameter on every page load in the browser.

    Thread Starter jlacroix1982

    (@jlacroix1982)

    Yes, you’re probably referring to the following:

    [yourchannel user=”myusername” sortby=”latest”]

    Plugin Author plugin.builders

    (@pluginbuilders)

    Yes, it should be sortby="date", but it’s the default so it should work without adding it to shortcode too.

    Thread Starter jlacroix1982

    (@jlacroix1982)

    Can I do the reverse of date on some pages? I don’t see any documentation on your site at all for what kinds of sorting is available.

    Plugin Author plugin.builders

    (@pluginbuilders)

    You can choose one from date, viewCount, rating and title. Reverse sorting is not possible.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Hitting the Quota Every Day’ is closed to new replies.