I developed a bot that automatically posts menu of cafeteria on Facebook.

  • Language/Framework : Python/Django
  • Library : FacebookSDK, BeautifulSoup, PyVirtualDisplay
  • Server : nCloud, Ubuntu 14.04.4 LTS
  • ETC : Git, Vim, PyCharm, Crontab
  • Source code

facebook bot main

Bot will post cafeteria’s menu like image above, same time, everyday

facebook bot image

Parsing cafeteria menu with Python’s BeautifulSoup library, than Insert parsed data to HTML table. Using PyVirtualDisplay library take image of HTML table. lastly post image to Facebook using Cron function of Linux

through.kim's profile image


2016-10-18 16:25

Read more posts by this author