I'm getting Twilio's next and previous page URI's via the PHP helper library like this..
$prevpage = $client->messages->page()->getPreviousPageUrl();
$nextpage = $client->messages->page()->getNextPageUrl();
What is the suggested way to load the data from these URI's, using the PHP Helper Library?
Twilio developer evangelist here.
You don't have to use the URLs if you don't want to. You can just call
nextPage()
orpreviousPage()
and you will fetch the next/previous page:Let me know if that helps at all.