Help to send information to php file

I have the following php code:

https://pastebin.com/P5BWVzz0

where [user] appears I need to insert the user of the person in twitch, $(user), I don’t know how to send the user to the code

Hey @isaaccarter812!

You have to create an API for your code, and then send $(user) to the API, for example as queryParam:

$(urlfetch https://your.api/api-endpoint?user=$(user))

Nightbot doesn’t work with PHP, but Javascript.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.