Facebook-bot in Robot Framework to automatically send birthday congratulations. Designed for my Raspberry PI.
- Automatically congratulates people on their birthday with a message chosen at random.
- Also can be used to win "poke wars" by automatically poke someone back.
- Totally uses advanced IT-tools that are used in Software Testing for something way more fun.
Facebot requires Robot Framework (http://robotframework.org/) to work. With Python's pip
, installation of Robot Framework is a piece of cake:
pip install robotframework
Change the [username]
and [password]
in the crontab.
Other requirements can be installed with:
pip install robotframework-xvfb
pip install robotframework-selenium2library
pip install -U selenium
Simply run the following command in this folder and watch the browser go mad:
pybot --outputdir output/ birthdays.robot
You could setup a crontab on a Raspberry Pi or server by adding this line to the crontab. A sample file for this is included.