00:36 kyledrak_ joined #geoloqi
08:04 patrickarlt joined #geoloqi
14:04 kyledrake joined #geoloqi
16:53 patrickarlt joined #geoloqi
17:14 Fredskronk joined #geoloqi
17:15 <Fredskronk> Hi, Am in a bit of trouble that I can't figuer out.
17:15 <Fredskronk> So I have this PHP script that should run in cron. So i use oauth/token with username and password to get an access_token.
17:16 <Fredskronk> Get the token and then when i try to use it with $geoloqi->getAuthWithCode i get a message telling me that hte token has expired.
17:16 <Fredskronk> How?? I got the token about less than a millisecond ago. It doesn't make any sense.
17:17 <Fredskronk> sory for bad spelling.
17:59 patrickarlt joined #geoloqi
18:25 rknLA joined #geoloqi
18:40 <aaronpk> Fredskronk: an easier solution is just to use your permanent access token available from your application or account
18:45 kyledrake joined #geoloqi
19:05 <aaronpk> Fredskronk: when you use oauth/token with your username and password, the token you get back you can start using directly. no need to use $geoloqi->getAuthWithCode. that method is for doing the standard web oauth flow.
19:06 <aaronpk> Fredskronk: once you have your access token, you can do this: $geoloqi = Geoloqi::createWithAccessToken('YOUR ACCESS TOKEN GOES HERE');
19:11 rknLA joined #geoloqi
20:01 <Fredskronk> Oh tank you all! Will try the permanent token. Whe I tried using only my username and pass i got error telling me no user was selected.
20:30 rknLA joined #geoloqi
21:18 patrickarlt joined #geoloqi
21:22 patrickarlt joined #geoloqi
21:41 patrickarlt joined #geoloqi
22:35 rknLA joined #geoloqi