tabliss
tabliss copied to clipboard
[Bug] Quotes from "thesaidso.com" don't load
When you add the "Quotes" widget any quotes in it (except the hourly developer ones) do not load. If you open the console you can see that there seems to be a permission error with the "quotes.rest" API. After testing their API for some time it seems that all calls made to it result in a 401 error, regardless of the provided parameters. The solution to this problem would I guess be either replacing the currently utilised API with a different one or waiting an indefinite amount of time for the people behind "theysaidso.com" to fix the problem with their API.
When you add the "Quotes" widget any quotes in it (except the hourly developer ones) do not load. If you open the console you can see that there seems to be a permission error with the "quotes.rest" API. After testing their API for some time it seems that all calls made to it result in a 401 error, regardless of the provided parameters. The solution to this problem would I guess be either replacing the currently utilised API with a different one or waiting an indefinite amount of time for the people behind "theysaidso.com" to fix the problem with their API.
I encountered the same situation.
Update: After some more experimenting and contacting the "theysaidso.com" team I've found out that the API is working as intended, it just needs an API key in one of the request headers now. On the "quotes.rest" example API testing website I've set up a working request and attached a screenshot of it to this comment. It seems that the problem was actually a change in their API that made it so every request requires an API key. I'm guessing that just putting it into the request made by the "Quotes" widget is a viable and free solution as their website states that this specific part of the API is free.
Having the same issue as well. Mine will load the developer excuses, but not the other quotes.
Having the same issue as well. Mine will load the developer excuses, but not the other quotes.
The developer excuses are properly loaded because they use a different API than all the other options.
I believe that the free version of Quotes API now requires a bearer API key (rate-limited), which Tabliss does not provide. There should be an update fixing that, and also rate-limit the update of the quote to avoid hitting the limit
Yep, from the quotes.rest page:
Please note recently we closed down public access without api key to prevent abuse. The public routes are still available to use free of charge but requires an api token.
They allow 5 quotes per day on the free tier. That would be alright if we can cache one a day I suppose. Could there be other quotes APIs to use instead?
Could there be other quotes APIs to use instead?
I did find one: https://zenquotes.io/
Though I believe preserving current quotes.rest API and allow API keys is a good option, because zenquotes.io applies rate-limit by IP address. Sometimes this can cause trouble in an environment with carrier-grade NAT configured.
It is still not loading anything :(
It is still not loading anything :(
Until we get a fix from developer this probably won't load, API has changed