How to get access_token for using chat?

No you would need a chat_login scope oauth for user pororia79

The anonomous login is justinfanSTRINGOFNUMBERS