Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
radutopala committed Apr 28, 2016
2 parents 3a6915b + 1631407 commit aaa3578
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,17 @@ php skype.phar auth <yourClientId>
php skype.phar conversation:activity <to> <message>
```

##Tips
- If used as a library, the HTTP Guzzle Client will automatically try to re-authenticate using a Guzzle middleware, if the `access_token` will expire in the following 10 minutes.
- If used as a phar, you can update it to latest version using `skype.phar self-update`
- If used as a library, you can store the token configs in your own preffered file path, as follows:

```
$client = new Client([
'clientId' => '<yourClientId>',
'clientSecret' => '<yourClientSecret>',
'fileTokenStoragePath' => '<yourOwnPath>',
]);
```

More docs to come soon.

0 comments on commit aaa3578

Please sign in to comment.