@blaboscz Thank you for reporting the bug! There was an issue with Unicode characters, it could be fixed now.
Thank you so much, just one more thing, the same problem is with !quote list --> http://twitch.center/customapi/quote/list?token=23a39153 There is the same respond with code 500
Good catch once again. Fixed.
Great job Thank you so much. This is the best API i had ever used
Hi, is there anyway to delete all quotes at once or do you have to go one by one?
I actually did add something for that, forgot to document it here, I’ll add it in a bit.
In the meantime, refer to this post:
If you have any questions, as how to set it up, feel free to ask.
Any idea how to add a quote with a specific number? For example, if I deleted quote 1, and there are quotes 2 and 3, how do I add a new quote in the space of quote 1 without it becoming quote 4?
If you delete quote 1 quote 2 becomes quote 1. All the way up the line, the rest of the quotes fill in the gap.
Is there any way to make nightbot say random quotes using timers?
Yes, actually. In your timer if you set the alias to be your !quote command or if you set the message field to be customapi/urlfetch for the quote grabber missing the $(querystring) variable it will always pull a random quote for your timer to send out.
So, i should put something like:
$(urlfetch http://twitch.center/customapi/quote?token=TOKEN)
Is that right?
Put:
$(urlfetch http://twitch.center/customapi/quote?token=TOKEN&data=)
Just to be safe
Worked great! Thanks guys!
looks like there is some kind of problem if there are too many quotes…
i’ve added more than 1000 quotes and nightbot seems to have problems retrieving some with higher numbers
Is it expected behavior? Is there optimal quote limit?
Can you give your channel and specific command that fails?
The channel is https://www.youtube.com/user/DOneDarkness
The specific command is the !quote
Sometimes it works, sometimes not… It seems to never work with something like !quote 900
Worked fine when I tried the commands on Twitch. I tried 800, 900, 1000, and many more and it all returned perfectly. Youtube doesn’t let me type in your chat while you’re offline so I can’t test there, but it seems like it’s an issue with Youtube, maybe specific the links you have in your quotes?
There are more than 500 diferent links on my quotes (all adult…), could be them, but seems random…
Sometimes works, sometimes don’t And low numbers, like 100, 200 seems to always work.
I think there is way to test on youtube, using the gaming.youtube system: https://www.youtube.com/live_chat?is_popout=1&v=wAzL2VuybxA
Edit: After some more testing, looks like i’ts youtube’s fault
Short links are working, bigger ones that have “<wbr>­
” are not, and they were before…
You’re right, it is a YouTube problem. I’ll reach out to their developers.
Sorry for the delayed response. YouTube developer reached out to me and stated that this bug will be fixed by them in their next release.