Skip to content

ColombiaPython/social-media-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Selenium Scripts To Post In Facebook, Twitter And Linkedin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages