lalongooo / selenium-fb-group-poster

A Selenium Script to post an image with text on the Facebook Groups you are member.
MIT License
38 stars 15 forks source link

Selenium Facebook Group Poster

A Selenium Script to post an image with text on the Facebook Groups you are member.

Setup

$ (venv) cd selenium-fb-group-poster

Configure the script and enjoy!

There is a main method in the script, you need to edit and provide your Facebook user and password, the message you want to post, whether you want to attache an image, along within its path and the links of the Facebook Groups you are member of:

 def main():

    # Your Facebook account user and password
    usr = ""
    pwd = ""
    message = "Checkout an amazing selenium script for posting in Facebook Groups!\nhttps://github.com/lalongooo/selenium-fb-group-poster"
    attach_image = True
    image_path = "/path/to/the/photo/you/want/to/upload"
    group_links = [
        # Your Facebook Groups links.
        # IMPORTANT: You must be a member of the group, being ADMIN nor required.
        "https://www.facebook.com/groups/ayearofrunning/", # A group of Mark Zuckerberg
    ]

Run the script

$ (venv) python fbposter.py

To do:

License

This project is licensed under the MIT license.

Questions?

If you have any questions, please feel free to email me at hdez.jeduardo@gmail.com, or better yet, fill out an issue so everyone can benefit from what's your question about.