I have an error 500 with this code :
<?php require_once('./LINEBot.php'); $httpClient = new \LINE\LINEBot\HTTPClient\CurlHTTPClient(' xxx '); $bot = new \LINE\LINEBot($httpClient, ['channelSecret' => ' xxx ']);
- 0
Hi, thanks for your answer. I just download the sdk here : https://github.com/line/line-bot-sdk-php and set my tokens and secret infos in the settings files. I upload all files in my server and set the Webhook settings in the line dev website. So when I test to run the test page (EchoBot or KitchenSink), I have the error 500. and I have a 405 error with the line-bot-sdk-tiny version.
- 0
Could you provide more details and your sample code that is returning 500/405 error? (Don't post channel's secret or access tokens here.)
- 0