Automatically like any given Facebook URL if the user is logged in.
Project description
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 11, Windows 10, and Windows 8.
Requirement
Login to Facebook using your default browser and turn on the keyboard shortcuts in Facebook:
Click your profile picture in the top right of Facebook.
Click Display and accessibility, then Keyboard.
Click On below Use single-character keyboard shortcuts.
Installation
autolike only supports Python 3. Install it using pip.
$ pip install autolike
Example
To use (with caution), simply do:
import autolike
url = "https://www.facebook.com/" # any Facebook URL
run_time = 30 # time in seconds
like_result_dict = autolike.facebook_autolike(url, run_time)
print(like_result_dict)
Demonstration video: https://youtu.be/OLQNz0mbJg4
Development
You can build the code by yourself in any Windows 8/8.1/10/11 machine that has Python 3 installed. For development purpose we recommend to use a virtual environment.
$ python -m venv venv --clear
$ venv\Scripts\activate
$ pip install -r requirements.txt
$ python autolike\__init__.py
Contribute
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file autolike-1.0.4.tar.gz
.
File metadata
- Download URL: autolike-1.0.4.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f1b3df60605d6c79522fd711e0140fff8a98a2eca682eb49ef5d626c5755b9f |
|
MD5 | 571d7d44094133c31daf0054d41103f6 |
|
BLAKE2b-256 | 961fdc6793c284005f2cae952661465f2920f4bab507d8c3bb520ea09986be45 |
File details
Details for the file autolike-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: autolike-1.0.4-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de86b3332c534c8acd8c329e1d470a5d62c78c8cf20bda1d8ebff877944de3d3 |
|
MD5 | b5eb88dcffea5ae79ccb393d7c1fc918 |
|
BLAKE2b-256 | 24b04ddea6dff62e3377945d8838cb06516cbce895a6699c13366bb244096636 |