Example #1
0
function twitter_lists_list_subscribers($user, $list)
{
    // Subscribers of a list
    $api_options = array("owner_screen_name" => $user, "slug" => $list);
    $api_options["count"] = setting_fetch('dabr_perPage', 20);
    $cursor = $_GET['cursor'];
    if (!is_numeric($cursor)) {
        $cursor = -1;
    }
    if ($cursor > 0) {
        $api_options["cursor"] = $cursor;
    }
    $list = execute_codebird("lists_subscribers", $api_options);
    return $list;
}
Example #2
0
function twitter_user_info($username = null)
{
    $api_options = "screen_name={$username}";
    $user_info = execute_codebird("users_show", $api_options);
    return $user_info;
}