Tuesday, 11 February 2020

Help me clear up some Node confusion

The IssueI believe I have a grasp on some aspects of node, but where things get hazy is how I can get my node app to work without having a web page (with express, app.get(‘/‘)).I’m working on a side project where I take advantage of Twitters extensive APIs, where I can post tweets/respond to users. I have all necessary keys and have the twitter package, however i’m not sure how I would be able to “wake up my code” and have it send some response back. I know if I go to my ‘/‘ url, the code inside ‘/‘ will run.The QuestionHow do I get my node code to run based off of twitter interactions as opposed to visiting a url.

Submitted February 11, 2020 at 11:42PM by bonelessRizzy

No comments:

Post a Comment