Clicking an item will post this note to your Micropub endpoint. Below is some information about the request that will be made.
me | = session('me') ?> (should be your website) |
scope | = $this->token_scope ?> |
micropub endpoint | = $this->micropub_endpoint ?> |
access token | String of length = strlen($this->access_token) ?>= (strlen($this->access_token) > 0) ? (', ending in ' . substr($this->access_token, -7) . ' ') : '' ?> (should be greater than length 0) |
ate or drank |
A property named {"ate":[{"type":["h-food"],"name":["Coffee"]}]} |
h-food | |
p3k-food | The button you tap (or your custom text) will be sent to your Micropub endpoint in a field named p3k-food |
p3k-type | Will be either drink or eat depending on the type of entry |