Exemplo n.º 1
0
 case "mentions-all":
     $s->assign('header', 'All Mentions');
     $s->assign('description', 'Any post that mentions you');
     $s->assign('all_mentions', $pd->getAllMentions($i->network_username, 15));
     $s->assign('all_tweets', $pd->getAllPosts($cfg->twitter_user_id, 15));
     break;
 case "mentions-allreplies":
     $s->assign('header', 'Replies');
     $s->assign('description', 'Posts that directly reply to you (i.e., start with your name)');
     $s->assign('all_replies', $pd->getAllReplies($i->network_user_id, 15));
     break;
 case "mentions-orphan":
     $s->assign('header', 'Not Replies or Forwards');
     $s->assign('description', 'Mentions that are not associated with a specific post');
     $s->assign('all_tweets', $pd->getAllPosts($i->network_user_id, 15));
     $s->assign('orphan_replies', $pd->getOrphanReplies($cfg->twitter_username, 5));
     break;
 case "mentions-standalone":
     $s->assign('header', 'Standalone Mentions');
     $s->assign('description', 'Mentions you have marked as standalone');
     $s->assign('all_tweets', $pd->getAllPosts($i->network_user_id, 15));
     $s->assign('standalone_replies', $pd->getStandaloneReplies($i->network_username, 15));
     break;
 case "followers-mostfollowed":
     $s->assign('header', 'Most-Followed Followers');
     $s->assign('description', 'Followers with most followers');
     $s->assign('people', $fd->getMostFollowedFollowers($i->network_user_id, 15));
     break;
 case "followers-leastlikely":
     $s->assign('header', 'Least-Likely Followers');
     $s->assign('description', 'Followers with the greatest follower-to-friend ratio');