You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the PHP documentation.
I have set up a script which successfully authenticates with API and retrieves public photos responses in JSON by search below:
Thanks for the PHP documentation.
I have set up a script which successfully authenticates with API and retrieves public photos responses in JSON by search below:
Then using
$result = Unsplash\Search::photos($search, $page, $per_page);
When I run the script URL in the browser it works and returns the JSON photos array.
When I try to run the script from the server by CRONJOB, or FETCH, or RUN SCRIPT methods it fails on the first attempt here
\Unsplash\HttpClient::init([ .... });
I've made many changes to try to fix this but without success. Do you know why the script / authentication might be failing?
The text was updated successfully, but these errors were encountered: