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:
parent
bd28e04f84
commit
47e0eaa98e
@ -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]}");
|
||||
|
||||
|
Reference in New Issue
Block a user