Steemit Follow From Followers With List | Open Source PHP Project
With this project you can see the people following you.
This list does not include what you have already followed.
It lists your followers that you do not follow.
So you can easily follow the people following you.
SteemJS API system was used in the project.
It's simple to use.
Github: https://github.com/oguzdelioglu/Follow-From-Followers-Steemit
Note: We can capture a maximum of 100 people at the beginning of each character.
API system lists the maximum 100 results for each letter.
Files
Index.php
Functions
function YourFollowers($username) {
$total=0;
$allusers=array();
foreach(range('a', 'z') as $char) {
//echo "<center>Alpabeth:[<font color=\"red\">".$char."</font>]</center><br/>";
$json = file_get_contents('https://api.steemjs.com/get_following?follower='.$username.'&followType=blog&startFollowing='.$char.'&limit=100');
$data = json_decode($json,true);
foreach ($data as $key => $value){
if (!(in_array($value["following"], $allusers))) {
array_push($allusers,$value["following"]);
//echo "<center>".$value["following"]."</center><br>";
$total++;
}
}
}
echo "<center>Following:".$total."</center>";
return $allusers;
}
function FollowersOfYou($username) {
$total=0;
$allusers=array();
foreach(range('a', 'z') as $char) {
//echo "<center>Alpabeth:[<font color=\"red\">".$char."</font>]</center><br/>";
$json = file_get_contents('https://api.steemjs.com/get_followers?following='.$username.'&followType=blog&startFollower='.$char.'&limit=100');
$data = json_decode($json,true);
foreach ($data as $key => $value){
if (!(in_array($value["follower"], $allusers))) {
array_push($allusers,$value["follower"]);
//echo "<center>".$value["follower"]."</center><br>";
$total++;
}
}
}
echo "<center>Followers:".$total."</center>";
return $allusers;
}
Posted on Utopian.io - Rewarding Open Source Contributors
Congratulations @odl! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
Award for the number of upvotes
Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here
If you no longer want to receive notifications, reply to this comment with the word
STOP
Your contribution cannot be approved yet because it does not meet our quality standards.
It is highly recommended to add a LICENSE and descriptive README.md.
Your code should contain explanatory comments.
You don't need to paste all your code into your post. Instead you should include only important parts (formatted with markdown) that need explanation or link to them directly on GitHub.
Your project contains questionable code here and here. Setting
max_execution_time
to zero should be avoided. Usingusleep
to delay output is not a good solution. The frontend should take care of this via Javascript and CSS.Your contribution looks very similar to one of your previous ones. The project files are even identical to a certain degree. I would suggest to merge these steem related developments into one project, to avoid this code duplication.
I had problems understanding your post.
Could you please try to improve your English a little bit, so you contribution becomes easier to understand?
While none of those points is a clear violation of our rules, it is the sum of issues that call for improvement.
Please address these issues to reapply for approval.
You may edit your post here, as shown below:
You can contact us on Discord.
[utopian-moderator]
Your contribution cannot be approved, for the given reasons. You can focus on your next contribution now and all the things we discussed on discord.
If you need further help with developing, feel free to ask me.
For any questions or feedback you can contact us on Discord.
[utopian-moderator]