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

Free open source code for Twitter API Engagement Programming

get_new_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_new_followers($where,$start,$results_per_page) {
	global $db;

	$query = "SELECT follow_log.created_at AS date, users.* 
		FROM follow_log, users
		WHERE follow_log.user_id = users.user_id
		AND follow_log.event =  'follow'
		$where
		ORDER BY follow_log.created_at DESC
		LIMIT $start, $results_per_page";

	return $db->select_array($query);
}
?>


Great set of open source Twitter API engagement code