PHP Classes

File: cli.php

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   PHP Facebook Agent Helpers   cli.php   Download  
File: cli.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Facebook Agent Helpers
Implements a chatbot using Facebook Messenger
Author: By
Last change:
Date: 2 years ago
Size: 716 bytes
 

Contents

Class file image Download
<?php
define
("APP_DS", DIRECTORY_SEPARATOR);
define("APP_PATH",dirname(__FILE__) . APP_DS );

define("HTTP_CODE_OK",200);
define("HTTP_CODE_FORBIDDEN",403);

define ("SERVER_URL","https://ssl.fwebshop.com/thilathang/");
define ("APP_SECRET","45f5493391e0875512f4c42eca1efb11");
define ("PAGE_TOKEN","EAACTCQNkvsgBAGDZAyraTYqdeinEHfJnFPniLmnjZB2wZBE5r8lS0zCngxdndvnV33boUVQ7BZB00EjTsHHssTIFuGu9dXsVVfbqWK2jZAbdNPSxwEFqZAjhqr45j37Nn2q3QZA18AYGeKT1qOhnOCSzWUKRIiZCocGZCJKsKevSlVAkpfKuTWtja");
define ("APP_TOKEN","this_is_my_test_token");
define("FACEBOOK_ENDPOINT","https://graph.facebook.com/v2.6/me/messages");
define("PAGE_ID","1169673899771529");

define("SERVER_IP","192.99.244.166");
define("SERVER_PORT",5000);