nylas-php
nylas-php copied to clipboard
Getting error when trying to use the lib
I'm keep getting the following error when I try to use your e-mails from github on my server. Anybody can help me with this?
The only code which I execute is:
use Nylas;
$client = new Nylas('***', '***');
$redirect_url = 'url/login_callback.php';
$get_auth_url = $client->createAuthURL($redirect_url);
// redirect to Nylas auth server
header("Location: ".$get_auth_url);
Parse error: syntax error, unexpected '$item' (T_VARIABLE) in path.../nylas-php/src/Nylas.php on line 210
Thanks so much for your help! Dennys
Hey @dennyshess would it be possible to know what php and guzzle version you are using? Only php 5.4 and above is supported