Search YouTube or GitHub for "facebook auto like termux" and you'll find dozens of repositories. But a deep analysis reveals:
Section 3.1 of Facebook’s ToS explicitly prohibits:
Implement a (e.g., 5–15 seconds) between likes to mimic human behavior.
This is the hardest part. Methods include:
Scripts that use your active session cookies or access tokens to send POST requests directly to Facebook's servers. These are faster but much easier for Facebook to detect.