Skip to content

Instantly share code, notes, and snippets.

@aaronpk
Created April 23, 2012 04:22
Show Gist options
  • Select an option

  • Save aaronpk/2468855 to your computer and use it in GitHub Desktop.

Select an option

Save aaronpk/2468855 to your computer and use it in GitHub Desktop.
handling geoloqi trigger post hook
<?php
$post = json_decode(file_get_contents("php://input"));
// user id
$post->user->user_id;
// layer id
$post->layer->layer_id;
// place id
$post->place->place_id;
// Also see: https://developers.geoloqi.com/api/trigger-callback
// for the full documentation of fields returned.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment