Chatbot, Oauth2, curl requests?

I don’t use passport myself. I wrote my own stuff to handle token refresment.

Passport from a loose reading feels more like it’s for user session management for a website, not key management for a chat bot

cURL is universal, an example cURL call can be converted to be used in any cURL helper function that exists in the language you are working in.

Express is for serving websites, not making HTTP/cURL requests

For Node, you are looking at using fetch, got or similar cURL/HTTP fetching library

1 Like