(Resolved)Creating a chat bot in PHP CLI - not pulling any information

PASS oauth:token\r\n
NICK username\r\n

no USER required. Login unsuccessful would suggest your oauth token is invalid or doesn’t match the username. Your code works fine for me (changing USER to NICK).

2 Likes