2012-05-06

01:39 caseorganic joined #geoloqi
01:51 kyledrake joined #geoloqi
09:17 caseorganic joined #geoloqi
10:08 mxbc joined #geoloqi
11:19 <@arazin5831> Heading out! Track me on Geoloqi! http://t.co/ToIe09ln
12:13 caseorganic joined #geoloqi
12:24 rknLA joined #geoloqi
12:49 <mxbc> Question: I need to send notifications to users when one of them enters a specific region. How would one do that?
12:50 <mxbc> So far I have created a group for those users, a layer for their group and a place to set the trigger on.
12:54 <mxbc> Should I set a trigger with a callback url, then parse the request to get the user_id and layer_id and send a message to everyone in the layer or group?
12:54 <aaronpk> that sounds about right. You can use group/message/:token to send a notification to everyone int he group
12:56 <aaronpk> oh sorry, that method doesn't have its documentation written yet.
12:57 <aaronpk> short version: POST group/message/:token {text: "Hello world", push: ['u1','u2','u3']}
13:05 kyledrake joined #geoloqi
13:06 <mxbc> All right! Yeah I was confused without the docs
13:09 <aaronpk> sorry about that, didn't realize that one hadn't been written yet
13:10 <mxbc> Hey don't worry, I can always come here, ah!
13:37 <@jsddr> ¬°Echa un vistazo a Geoloqi en Google Play! https://t.co/ChLAD8nl
13:39 caseorganic joined #geoloqi
15:10 mrgold_laptop- joined #geoloqi
15:37 kyledrake joined #geoloqi
18:10 caseorganic joined #geoloqi
18:22 <mxbc> How/when is a trigger triggered? I have a group containing multiple users. If any of the user in the group enters the place radius will a trigger that is set on that place be triggered?
18:25 <mxbc> The context is a simple meeting point. A person creates a meeting point, this person is an anonymous user. This person then creates a group, a layer associated to the group and a single place on that layer.
18:25 <mxbc> I then set a trigger on that place.
18:26 <mxbc> Other anonymous users then join the group. Will these users set the trigger off?
18:26 <mxbc> Do they have to subscribe to the layer?
18:56 kyledrake joined #geoloqi
20:15 mrgold_laptop- joined #geoloqi
22:15 caseorganic joined #geoloqi
22:43 <aaronpk> !tell mxbc You're on the right track. Triggers will only run for users subscribed to the layer. Triggers are independent of groups, so you can have users join the group and they won't run the trigger.
22:43 <Loqi> Ok, I'll tell them that when I see them next
23:23 mrgold_laptop- joined #geoloqi
23:30 mrgold_laptop- joined #geoloqi
23:36 mrgold_laptop joined #geoloqi