joelshepherd / tabliss

A beautiful, customisable New Tab page for Firefox, Chrome, and Edge.
https://tabliss.io
GNU General Public License v3.0
2.15k stars 281 forks source link

[Bug] Quotes from "thesaidso.com" don't load #680

Open KomornikBank opened 3 months ago

KomornikBank commented 3 months ago

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.

aoaim commented 3 months ago

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.

KomornikBank commented 3 months ago

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. Zrzut ekranu 2024-03-31 145519

GaelanVenturi commented 1 month ago

Having the same issue as well. Mine will load the developer excuses, but not the other quotes.

KomornikBank commented 1 month ago

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.

shanoaice commented 4 weeks ago

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