Reputation: 4996
I have an application in which you can search for videos repeatedly. Do I need to new Vimeo everytime I call $vimeo->request?
$vimeo = new Vimeo(APPLICATION_ID, APPLICATION_SECRET, ACCESS_TOKEN);
$vimeo->request('/videos?query=cars');
Upvotes: 0
Views: 328
Reputation: 3998
You only need to construct a new instance of the Vimeo object if you want to switch to different application id's secrets, or tokens.
Upvotes: 1