How can I start a server side application automatically? [closed]
-
14-04-2021 - |
Question
I want to develop a chatbot that sometimes sends messages on its own. That means it have to become active by itself. How can I do this?
Solution
Your best method is to create a standalone application (in whatever language you choose) then create a crontab / windows scheduler entry to run the application. The application doesnt need to run in a browser to connect to a web based application.
OTHER TIPS
You don't really need a server for this. Maybe you could use you experience with JavaScript to write a browser extension (for example for Chrome: http://code.google.com/chrome/extensions/index.html). A browser extension will have direct access to the Facebook page in your browser and it will make your life much easier to communicate this way with the Facebook server.