Facebook Messenger

Bot by PHP

Need a certificate for call Facebook API to reply user (running in Windows)

FbBotApp.php
public function call($url, $data, $type = self::T
YPE_POST) {
    ...
    curl_setopt($process, CURLOPT_CAINFO, getcwd().'\Cert\cacert.pem');
    ...
}

pimax/fb-messenger-php

https://github.com/pimax/fb-messenger-php

Last updated