Skip to content

A bot to automatically comment thank you on all your birthday posts.

License

Notifications You must be signed in to change notification settings

nitinkgp23/bdaybot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bdaybot

Join the chat at https://gitter.im/bdaybot/Lobby

This is a bot that will like and comment 'Thank you' on all the birthday posts posted on your timeline. It uses Selenium to automate facebook login and successively locating the birthday posts using web scrapping. The project is under heavy development.


This could have required no use of Selenium, and could have been done by using Facebook's Graph API, but only till the previous version. In the current version, API doesnt give access to the bdday posts individually. Instead, it groups all the 150 posts, say, and makes it a 1 story, with one story-id. There are no indvidual post-ids to access them.

TODO:

  • Automate facebook login
  • Locate Bdday posts from the user's wall, iterate over them, like and comment.
  • Take the username and password during the process.
  • Convert above into an extension or a web-app
  • Launch it as an .exe file for windows

Dependencies:

Install all the dependencies using pip install -r requirements.txt before using the script.

Usage:

Contribution guidelines:

  • Push to master.

Never push from master. Try creating a new branch on your local and push from the said branch.

Any suggestions or contributions are welcome!

Language:

  • JAVA ( Class can be found in folder bdaybot ).
  • Python3 ( firefox.py is in Python 3 ).

How to

firefox.py is the only updated file here, that can successfully do the required job. Do git clone cd bdaybot python3 firefox.py You need to install selenium package first. Download the latest geckodriver and place it in PATH.

About

A bot to automatically comment thank you on all your birthday posts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages