Head over to developer.facebook.com and create an App
On your server, create a facebook webhook that will handle facebook calls. Then create a "leadgen" webhook on you App: https://developers.facebook.com/docs/graph-api/webhooks/v2.5
Serial Keys: | |
YV54A-2ZW5P-M887Y-UWXNE-QPUXD | |
VY3R2-0NW0L-H845Q-TDMXT-XQAT0 | |
VC7JR-A0Z97-08EGZ-M4YNV-XVHD0 | |
FC1TU-4RGEQ-084EP-2XQQX-ZGHWA | |
CU1WA-8HGEN-M815Z-HQP5E-QKADF | |
AY7D0-FTG44-H846Y-2XPGV-P32T8 |
Serial Keys: | |
FU512-2DG1H-M85QZ-U7Z5T-PY8ZD | |
CU3MA-2LG1N-48EGQ-9GNGZ-QG0UD | |
GV7N2-DQZ00-4897Y-27ZNX-NV0TD | |
YZ718-4REEQ-08DHQ-JNYQC-ZQRD0 | |
GZ3N0-6CX0L-H80UP-FPM59-NKAD4 | |
YY31H-6EYEJ-480VZ-VXXZC-QF2E0 | |
ZG51K-25FE1-H81ZP-95XGT-WV2C0 | |
VG30H-2AX11-H88FQ-CQXGZ-M6AY4 |
<select name="year"> | |
<option value="">Year</option> | |
<?php for ($year = date('Y'); $year > date('Y')-100; $year--) { ?> | |
<option value="<?php echo $year; ?>"><?php echo $year; ?></option> | |
<?php } ?> | |
</select> | |
<select name="month"> | |
<option value="">Month</option> | |
<?php for ($month = 1; $month <= 12; $month++) { ?> | |
<option value="<?php echo strlen($month)==1 ? '0'.$month : $month; ?>"><?php echo strlen($month)==1 ? '0'.$month : $month; ?></option> |
<span> | |
<select name="month"> | |
<option value="January">January</option> | |
<option value="February">February</option> | |
<option value="March">March</option> | |
<option value="April">April</option> | |
<option value="May">May</option> | |
<option value="June">June</option> | |
<option value="July">July</option> | |
<option value="August">August</option> |
Head over to developer.facebook.com and create an App
On your server, create a facebook webhook that will handle facebook calls. Then create a "leadgen" webhook on you App: https://developers.facebook.com/docs/graph-api/webhooks/v2.5
<?php | |
namespace Mauris\Utility; | |
class NricUtility | |
{ | |
public static function validate($nric) | |
{ | |
$nric = strtoupper($nric); | |
if (strlen($nric) == 9) { | |
$hash = self::checksum(substr($nric, 0, 8)); |
<?php | |
$challenge = $_REQUEST['hub_challenge']; | |
$verify_token = $_REQUEST['hub_verify_token']; | |
// Set this Verify Token Value on your Facebook App | |
if ($verify_token === 'testtoken') { | |
echo $challenge; | |
} | |
$input = json_decode(file_get_contents('php://input'), true); |
<select name="nationality"> | |
<option value="">-- select one --</option> | |
<option value="afghan">Afghan</option> | |
<option value="albanian">Albanian</option> | |
<option value="algerian">Algerian</option> | |
<option value="american">American</option> | |
<option value="andorran">Andorran</option> | |
<option value="angolan">Angolan</option> | |
<option value="antiguans">Antiguans</option> | |
<option value="argentinean">Argentinean</option> |