joelshepherd / tabliss

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

Unsplash tags are ignored #560

Open targyll opened 1 year ago

targyll commented 1 year ago

Hello,

I have been using Tabliss on Firefox for a while. I appreciated the "search" option for Unsplash pictures. Since a few weeks, the image shown has nothing to do with the tags I entered in the settings. The location that used to be added has also gone... Am I doing anything wrong?

damirarh commented 1 year ago

It seems that there were some changes to the Unsplash API. I have already submitted a PR #557 to fix the issue with missing location. I don't use tags myself but I might take a look it at this as well. However, it's still up to @joelshepherd to review and accept the PR(s).

damirarh commented 1 year ago

@targyll I did some testing and it seems to work fine for me. I get images that match the search query and the request sent to the Unsplash API also matches the documentation, e.g. https://api.unsplash.com/photos/random?count=10&orientation=landscape&query=mountain

targyll commented 1 year ago

Thank you @damirarh Here is what I get when I click on your link:

"OAuth error: The access token is invalid"

I changed the search words and it seems to be working. Maybe, I got strange results due to bad tagging of the pictures. The name of the place though, (in the lower right corner of the picture) is missing.

damirarh commented 1 year ago

The name of the place though, (in the lower right corner of the picture) is missing.

557 was merged in the meantime, so this problem should be fixed when a new version is released.