Welcome!

Please be patience and wait for the game load below! and happy playing and winning too! ;-)

Register


[
{'name':'name'},
{'name':'email'},
{'name':'location'},
{'name':'gender'},
{'name':'birthday'},
{'name':'password'},
{'name':'like', 'description':'Do you like this plugin?', 'type':'checkbox', 'default':'checked'},
{'name':'phone', 'description':'Phone Number', 'type':'text'},
{'name':'anniversary','description':'Anniversary', 'type':'date'},
{'name':'captain', 'description':'Best Captain', 'type':'select', 'options':{'P':'Jean-Luc Picard','K':'James T. Kirk'}},
{'name':'force', 'description':'Which side?', 'type':'select', 'options':{'jedi':'Jedi','sith':'Sith'}, 'default':'sith'},
{'name':'live', 'description':'Best Place to Live', 'type':'typeahead', 'categories':['city','country','state_province']},
{'name':'captcha'}
]




{
"oauth_token": "...big long string...",
"algorithm": "HMAC-SHA256",
"expires": 1291840400,
"issued_at": 1291836800,
"registration": {
"name": "Paul Tarjan",
"email": "fb@paulisageek.com",
"location": {
"name": "San Francisco, California",
"id": 114952118516947
},
"gender": "male",
"birthday": "12/16/1985",
"like": true,
"phone": "555-123-4567",
"anniversary": "2/14/1998",
"captain": "K",
"force": "jedi",
"live": {
"name": "Denver, Colorado",
"id": 115590505119035
}
},
"registration_metadata": {
"fields": "[\n {'name':'name'},\n {'name':'email'},\n {'name':'location'},\n {'name':'gender'},\n {'name':'birthday'},\n {'name':'password'},\n {'name':'like', 'description':'Do you like this plugin?', 'type':'checkbox', 'default':'checked'},\n {'name':'phone', 'description':'Phone Number', 'type':'text'},\n {'name':'anniversary','description':'Anniversary', 'type':'date'},\n {'name':'captain', 'description':'Best Captain', 'type':'select', 'options':{'P':'Jean-Luc Picard','K':'James T. Kirk'}},\n {'name':'force', 'description':'Which side?', 'type':'select', 'options':{'jedi':'Jedi','sith':'Sith'}, 'default':'sith'},\n {'name':'live', 'description':'Best Place to Live', 'type':'typeahead', 'categories':['city','country','state_province']},\n {'name':'captcha'}\n]"
},
"user_id": "218471"
}
< ?php define('FACEBOOK_APP_ID', 'your_app_id'); define('FACEBOOK_SECRET', 'your_app_secret'); function parse_signed_request($signed_request, $secret) { list($encoded_sig, $payload) = explode('.', $signed_request, 2); // decode the data $sig = base64_url_decode($encoded_sig); $data = json_decode(base64_url_decode($payload), true); if (strtoupper($data['algorithm']) !== 'HMAC-SHA256') { error_log('Unknown algorithm. Expected HMAC-SHA256'); return null; } // check sig $expected_sig = hash_hmac('sha256', $payload, $secret, $raw = true); if ($sig !== $expected_sig) { error_log('Bad Signed JSON signature!'); return null; } return $data; } function base64_url_decode($input) { return base64_decode(strtr($input, '-_', '+/')); } if ($_REQUEST) { echo '


signed_request contents:

';
$response = parse_signed_request($_REQUEST['signed_request'],
FACEBOOK_SECRET);
echo '
';
  print_r($response);
  echo '
';
} else {
echo '$_REQUEST is empty';
}
?>
{
"lsd": "zhQMx",
"signed_request": "dsH28lbJfcpmlYqW2deMfoKbasod8QyBLuIpy6qLosI.eyJhbGdvcml0aG0iOiJITUFDLVNIQTI1NiIsImlzc3VlZF9hdCI6MTMwNTMzNzQ2NywicmVnaXN0cmF0aW9uIjp7Im5hbWUiOiJEZWVwYWsgS2FtYXQiLCJiaXJ0aGRheSI6IjEwXC8xNlwvMTk4NCIsImdlbmRlciI6Im1hbGUiLCJsb2NhdGlvbiI6eyJuYW1lIjoiR3V3YWhhdGksIEluZGlhIiwiaWQiOjEzMDk1ODI0NjkzODcyMX0sImVtYWlsIjoiZGVlcGFrNDU2MzFcdTAwNDBhb2wuaW4ifSwicmVnaXN0cmF0aW9uX21ldGFkYXRhIjp7ImZpZWxkcyI6Im5hbWUsYmlydGhkYXksZ2VuZGVyLGxvY2F0aW9uLGVtYWlsIn0sInVzZXIiOnsiY291bnRyeSI6ImluIiwibG9jYWxlIjoiZW5fVVMifX0"
}
--------------------------------------------------------------------------------
{
"algorithm": "HMAC-SHA256",
"issued_at": 1305337467,
"registration": {
"name": "Deepak Kamat",
"birthday": "10\/16\/1984",
"gender": "male",
"location": {
"name": "Guwahati, India",
"id": 130958246938721
},
"email": "deepak45631\u0040aol.in"
},
"registration_metadata": {
"fields": "name,birthday,gender,location,email"
},
"user": {
"country": "in",
"locale": "en_US"
}
}

~Page Views~