Example:
<?php
include("userinfo.php");
if(if_user_follow("MYBLOG")){
echo "Welcome, thank you for following MYBLOG! I will follow back you!";
echo "Welcome, if you liked my work, follow my blog, many othershave there!";
//user do not follow MYBLOG
What I do is check if the user follows MYBLOG, if he follows MYBLOG, you will see a button "unfollow,", and if he does not follow MYBLOG, you will see the button "follow"...
Can anyone give me a hand?
I thought load all the pages of '/user/following' and check all users loaded with 'foreach()', but this causes problems in the server tumblr, is not it?