As the topic says, i cant make it work.
Im using this script in JS in streamlabs:
$.ajax({
url: "https://api.nightbot.tv/1/channel/send",
method: "POST",
headers: {
"Authorization":"Bearer """,
},
data: "message={name} is now following!"
});
And inside "" next to bearer i should have my nightbot token but i cant seem to find it. I tried with client secret and client id but doesnt work.
Can someone help me before i go crazy?
Thanks in advance.