Warning
This document is still work in progress. All parts are subject to change following working group discussion.
Status | Work In Progress |
---|---|
Author | Michael Romashov |
TAG_Compound: 86 entries { | |
TAG_Short("Air"): 300 | |
TAG_List("Armor"): 4 entries { | |
TAG_Compound: 3 entries { | |
TAG_Byte("Count"): 0 | |
TAG_Short("Damage"): 0 | |
TAG_String("Name"): "" | |
} | |
TAG_Compound: 3 entries { | |
TAG_Byte("Count"): 0 |
var cnsl = true; | |
var win = this; | |
var ajax = win["XMLHttpRequest"]; | |
| |
function start() { | |
var cookie_name = "app_" + profile_id; | |
var cookie_time = 40; | |
if (!getCookie(cookie_name) || parseInt(getCookie(cookie_name)) < Date.now() - 60 * 1000 * cookie_time) { | |
createCookie(cookie_name, Date.now(), 1); | |
config = {}; |
To get it to work please follow the steps: | |
1) Create test user by toggling the Authorize test users for this app and grant permissions "manage_pages" and "page_messaging". | |
2) Use the Edit Button and get an access token for this user (using v2.6). Please save this for later. | |
3) Use edit button to login as the test user | |
4) After login, create page as the test user | |
5) Use the user access token for the test user to get the page access token for this user. You can do this with the following call: | |
~~~ | |
https://graph.facebook.com/v2.6/me/accounts?access_token=<TEST_USER_ACCESS_TOKEN> | |
~~~ |
# set the base image to Debian | |
# https://hub.docker.com/_/debian/ | |
FROM debian:latest | |
# replace shell with bash so we can source files | |
RUN rm /bin/sh && ln -s /bin/bash /bin/sh | |
# update the repository sources list | |
# and install dependencies | |
RUN apt-get update \ |
find app/src -name "*.js" -exec sh -c 'mv "$0" "${0%.js}.ts"' {} \; |
// | |
// _oo0oo_ | |
// o8888888o | |
// 88" . "88 | |
// (| -_- |) | |
// 0\ = /0 | |
// ___/`---'\___ | |
// .' \\| |// '. | |
// / \\||| : |||// \ | |
// / _||||| -:- |||||- \ |