Skip to content

Commit aaa3578

Browse files
committed
2 parents 3a6915b + 1631407 commit aaa3578

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,17 @@ php skype.phar auth <yourClientId>
5656
php skype.phar conversation:activity <to> <message>
5757
```
5858

59+
##Tips
60+
- 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.
61+
- If used as a phar, you can update it to latest version using `skype.phar self-update`
62+
- If used as a library, you can store the token configs in your own preffered file path, as follows:
63+
64+
```
65+
$client = new Client([
66+
'clientId' => '<yourClientId>',
67+
'clientSecret' => '<yourClientSecret>',
68+
'fileTokenStoragePath' => '<yourOwnPath>',
69+
]);
70+
```
71+
5972
More docs to come soon.

0 commit comments

Comments
 (0)