Giter Site home page Giter Site logo

social-media-automation's Introduction

Selenium Scripts To Post In Facebook, Twitter And Linkedin

A Selenium Script to post an image with text on the Facebook Groups you are member.
A Selenium Script to post an image with text on twitter.
A Selenium Script to post an image with text linkedin Groups you are member, companies you are admin or from your profile.

Facebook script

  • Verify you have Python 3.6.x installed
  • Install pip
  • Install python virtual environments
$ pip install virtualenv
  • Create your virtual environment
$ virtualenv venv
  • Activate your virtual environment
$ source venv/bin/activate
  • Install Python bindings for Selenium
$ (venv) pip install selenium
$ (venv) cd social-media-automation
  • Download geckodriver and put in line 23 the path to this. Configure the script and enjoy!
    There is a main method in the script, you need to edit and provide your user and password, the path to the image and the link of facebook groups
  • Run the script
$ (venv) python fbposter.py

Linkedin script

  • the same above steps until step 8
  • Download geckodriver and put in line 23 the path to this. Configure the script and enjoy!
    There is a main method in the script, you need to edit and provide your user and password, the path to the image or the link of the companie. If you want to publish from your profile do not put data of company or groups
  • Run the script
$ (venv) python linkedinpost.py  

Twitter script

  • the same above steps until step 8
  • Download put in line 23 the path to this and put in line 22 the path to this. Configure the script and enjoy!
    There is a main method in the script, you need to edit and provide your user and password, the path to the image
  • Run the script
$ (venv) python tweetpost.py

social-media-automation's People

Contributors

nicolasroa26 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.