This repo has been achived: Discontinuation.
Ninja Info Retriver is a PHP script made to fetch public information from a social media without using API.
- PHP 7.4 +
- cURL enabled
- File Write/Read permissions on "/temp/" inside "/ninja_functions/"
- I plan to add more in future...
This code is open-source follow by GNU-APL V3 License, you can fork, distribute, modify and also make your own version, but remember to follow the GNU-AGPL V3 LICENSE and mantain both license (type, file), credits (type, file).
Ninja is made for educational propouses only!
Be aware: The author of this script does not encourage the use of it for other means than educational, the use of this script in any other way is entirely your responsibility!
<?php
//Include ninja-autoload.php
include('ninja-autoload.php');
//Get a twitter Username, do not use @
$twitter_username = 'twitter';
//Call the class that you wan't to use [in this example i will use Twitter]
$NinjaOnTwitter = new NinjaOnTwitter();
//Now fetch the info you need [in this example i will use Twitter JSON that gives me all info at once]
$twitter_json = $NinjaOnTwitter->GetTwitterJsonInfo($twitter_username);
/* For the last, "Send Ninja To Bed" (This function gonna clear the temp file that Ninja Creates,
if you want to log the original files just remove it) */
$NinjaOnTwitter->SendTwitterNinjaToBed($twitter_username);
?>
You can find me on Twitter.