This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
By Mitchell Urgero (@[email protected]) | |
Mass follower using a friends.json list. Based off of https://gitlab.com/snippets/12852 | |
(Looks like the api will only grab 201 "friends" at a time.... shame really...) | |
*/ | |
$user = "user"; | |
$pass = "P@ssW0Rd"; | |
$api = "https://example.com/api"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Originally from https://ghostbin.com/paste/xjeud by https://social.freedombone.net/bob | |
//Re-writen to use PHP7.x MySQLi functions as mysql_*() are REMOVED in php7.0 | |
// gnusocial post expiry script, based on StatExpire by Tony Baldwin | |
// https://github.com/tonybaldwin/statexpire | |
//Make sure to check and/or change these options | |
$howfarback="-3 months"; //Check http://php.net/manual/en/function.strtotime.php for syntax | |
$server="localhost"; |
NewerOlder