@oplik0 No problem. Thank you for bringing this plugin to life!
At the same time, it might be nice to mention it in the README.
Seems to work on this forum, what version of nodebb and plugin are you using?
This forum is running 2.3.1 and [email protected]
What result do you get when you load the tenor url directly
The plugin is using v1, maybe our key is for v1 as well. https://github.com/julianlam/nodebb-plugin-tenor-gif/blob/master/library.js#L59
@baris That makes sense. Can the plugin be adapted to also support v2 ?
I don't see v2 api docs here https://tenor.com/gifapi/documentation#quickstart-search. Where did you see v1 is deprecated?
The issue here is that the API generator only creates v2, and not v1.
"Go to the docs" is the v2 documentation.
Ah, sorry I didn't update the thread! Yes, I did update the plugin to use v2 of the Tenor API last week
As a bonus, it now also shows some trending gifs on initial load (or empty query)
Plugin works on NodeBB 2.4.4 and last version of the plugin:
Like the error message said, seems to be an Tenor API key not valid I guess...
@DownPW Yes, but it doesn't work here
@phenomlab Indeed... I think we're still passing a v1 key let me fix that up.
@crazycells Same here - multiple browsers exhibit the same issue.