1
0

Update the example for grabbing a random photo to tag ?random=true to the URL

instead of using set() since that now only applies to entity changes.
This commit is contained in:
Bharat Mediratta 2010-06-02 22:14:13 -07:00
parent bd28e04f84
commit 47e0eaa98e

View File

@ -60,8 +60,7 @@ alert("Found: {$photos->data->members[0]}");
alert("Grab a random photo");
$photos = Gallery3::factory($root->url, $auth)
->set("random", "true")
$photos = Gallery3::factory("{$root->url}?random=true", $auth)
->load();
alert("Found: {$photos->data->members[0]}");