Twitter API Consulting
140dev@gmail.com
781-879-2960
@140dev

Free open source code for Twitter API Engagement Programming

get_search_followers.php

<?php
// Copyright (c) 2013 Adam Green. All rights reserved.
// See http://140dev.com/download/license.txt for licensing of this code.

function get_search_followers($where,$start,$results_per_page) {
	global $db;

	$query = "SELECT users.* 
		FROM users
		WHERE user_id IN
			(SELECT user_id
			FROM followers)
		$where
		ORDER BY users.followers_count DESC
		LIMIT $start, $results_per_page";
	return $db->select_array($query);
}
?>


Thanks, @140dev for the sweet open source API code.