My favorites | Sign in
Project Home Downloads Wiki Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
users-search
--FILE--
<?php

require_once dirname(__FILE__) . '/setup.php';

try {
$twitter = Services_Twitter_factory('users/search');
$response = $twitter->users->search(array('q' => 'twitter'));
var_dump(is_array($response) && $response[0] instanceof stdclass && count($response) == 20);
} catch (Services_Twitter_Exception $exc) {
echo $exc . "\n";
}

?>
--EXPECT--
bool(true)

Change log

r35 by nocontents on Apr 22, 2010   Diff
from hg
Go to: 

Older revisions

All revisions of this file

File info

Size: 406 bytes, 18 lines
Powered by Google Project Hosting