Automatically like any given Facebook URL if the user is logged in.
Automatically like any given Facebook URL if the user is logged in. The facebook(url, run_time) method takes a Facebook URL and run time in seconds. It will return a dictionary with status, message, url, like and time attribute. If the status has “success” value then the program is successfully completed.
DO NOT MISUSE IT FOR DISTURBING INDIVIDUALS.
The current version is tested on Windows(8), Windows(8.1) and Windows(10). It does not support Linux based OS.
autolike only supports Python 3. Install it using pip.
$ pip install autolike
To use (with caution), simply do:
import autolike url = "https://www.facebook.com/" # any Facebook URL run_time = 120 # time in seconds like_result_dict = autolike.facebook(url, run_time) print(like_result_dict)
BEFORE RUNNING THE PROGRAM, YOU NEED TO BE LOGGED IN TO FACEBOOK USING YOUR DEFAULT BROWSER.
You can build the code by yourself in any Windows 8/8.1/10 machine that has Python 3 installed. For development purpose we recommend to use a virtual environment.
$ virtualenv venv --no-site-packages $ venv\Scripts\activate.bat $ pip install -r requirements.txt $ python autolike\__init__.py
Create Github Pull Request https://github.com/arsho/autolike/pulls
If you have suggestion use GitHub issue system or send a message in Facebook https://www.facebook.com/ars.shovon.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.