Script for maintaining session from browser for facebook automation
First, you need to get cookies from your web browser.
To do that, I would recommend cookies.txt
After you got your cookies, you should run:
Now, paste cookies and pres
Keeping session in working order?
To keep session in working order make sure you do not log out in browser or simply delete cookies in browser.
How to get something from facebook?
<?php require_once("./vendor/autoload.php"); require_once("./Config.php"); require_once("./Parser.php"); $config = new Config; $parser = new Parser($config->get("accounts")); echo $parser->get("https://www.facebook.com/");
If you prefer to run CLI menu, you can do so by:
I have problem with session, what do I do?
If problem stays, just delete that account from config.json and readd it.