This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Telegram bot works with Program O | |
* Tutorial Link: https://www.lifeofgeek.com/fully-responsive-telegram-bot-php-tutorial/ | |
*/ | |
define('BOT_TOKEN', '123456789:ABC45N5UgS6Fa6Zgl14ThHkTU9Q2RyFdDSw'); //Replace with your bot token | |
define('API_URL', 'https://api.telegram.org/bot'.BOT_TOKEN.'/'); | |
// Program O Params | |
$bot_id = '1'; //Program O bot ID | |
$siteurl = 'https://www.lifeofgeek.com/bot'; // Site url including https where program o installed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Webhook for Facebook Messenger Bot with Program O | |
* Tutorial Link: https://www.lifeofgeek.com/build-responsive-facebook-messenger-bot/ | |
*/ | |
$access_token = "EAAT06zIHufkBAHewZCWZCBYAWKGJlS5uVOS3aEoIqSROiKZAuR8"; //Replace with your page access token | |
$verify_token = "lifeofgeek"; //Replace with your app verify token | |
$hub_verify_token = null; |