GorevlerNET adlı üyeden alıntı: mesajı görüntüle
Merhaba arkadaşlar güncel olarak çalışan unfollow yazılımını ücretsiz olarak paylaşıyorum.
Açık kaynak kodludur. Isteyen geliştirebilir.
Kullanıcı Consumer key Consumer secret Oauth token ve oauth secret bilgilerinizi giriniz. ( Offical api bilgilerini girebilirsiniz)
$follows = $oTwitter->get("followers/ids.json?screen_name=KULLANICIADI&cursor=".$cursor); ve $follow = $oTwitter->get("friends/ids.json?screen_name=KULLANICIADI&cursor=".$cursor);
$foll_array = (array)$follow; kısmında kullanıcı adınızı yaziniz ve dosyayı calıstırınız.
Hızlı bir şekilde sizi takip etmeyenleri tek tek çıktıgını göreceksiniz. İşlem sonunda rapor ekrana yazdırılacaktır.

Indir
<?php  
   require_once 'twitteroauth.php';
  
    $oTwitter = new TwitterOAuth
    ('CONSUMER_KEY',
     'CONSUMER_SECRET',
     'OAUTH_TOKEN',
     'OAUTH_SECRET');
    
    $e = 1;
    $cursor = -1;
    $full_followers = array();
    do {
        //SET UP THE URL
      $follows = $oTwitter->get("followers/ids.json?screen_name=KULLANICIADI&cursor=".$cursor);
      $foll_array = (array)$follows;

      foreach ($foll_array['ids'] as $key => $val) {

            $full_followers[$e] = $val;
            $e++;
      }
           $cursor = $follows->next_cursor;

      } while ($cursor > 0);
echo "Number of followers:" .$e. "<br /><br />";

    $e = 1;
    $cursor = -1;
    $full_friends = array();
    do {

      $follow = $oTwitter->get("friends/ids.json?screen_name=KULLANICIADI&cursor=".$cursor);
      $foll_array = (array)$follow;

      foreach ($foll_array['ids'] as $key => $val) {

            $full_friends[$e] = $val;
            $e++;
      }
          $cursor = $follow->next_cursor;
    
    } while ($cursor > 0);
    echo "Number of following:" .$e. "<br /><br />";

$index=1;
$unfollow_total=0;
foreach( $full_friends as $iFollow )
{
$isFollowing = in_array( $iFollow, $full_followers );
 
echo $index .":"."$iFollow: ".( $isFollowing ? 'OK' : '!!!' )."<br/>";
$index++;
 if( !$isFollowing )
    {
    $parameters = array( 'user_id' => $iFollow );
    $status = $oTwitter->post('friendships/destroy', $parameters);
    $unfollow_total++;
    } if ($unfollow_total === 999) break;
}
echo "<br /><br />";

$index=1;
$follow_total = 0;
foreach( $full_followers as $heFollows )
{
$amFollowing = in_array( $heFollows, $full_friends );
 
echo $index .":"."$heFollows: ".( $amFollowing ? 'OK' : '!!!' )."<br/>";
$index++;
 if( !$amFollowing )
    {
    $parameters = array( 'user_id' => $heFollows );
    $status = $oTwitter->post('friendships/create', $parameters);
    $follow_total++;
    } if ($follow_total === 999) break;
}
 echo 'Unfollowed:'.$unfollow_total.'<br />';
 echo 'Followed:'.$follow_total.'<br />';
 
?>
hocam bu konuda yeniyimde bu kodu nerede calıstıracagız