Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.21 KB

README.md

File metadata and controls

37 lines (21 loc) · 1.21 KB

FbPostUsingPython

It is a small script to post status on your FB wall using python

Installation

  • Install python 3 from Python.org

  • Install pip $ sudo apt-get install python3-pip (For Ubuntu Users)

  • $ python setup.py or $ python3 setup.py

  • Download PhantomJS and copy the exe file into the same folder as your repository

After the installation, open terminal at the root folder

Run python fb.py or python3 fb.py to post status from terminal or cmd.

Some Useful Installation Tips ( Ubuntu )

If you have already installed python 2.7 install python3 as well but it may be the problem that the packages are installed with respect to python 2.7 and shows error for the python 3 packages,

So, you need to install a Virtual Environment for the python3 to install python3 packages.

    virtualenv -p /usr/bin/python3 py3env
    source py3env/bin/activate
    pip install package-name

After setting virtual environment install packages listed above and Enjoy.

License

Copyright (c) 2016 Ankit Jain - Released under the Apache License

P.S For more python scripts Go To -> pythonResources