Open tienthanh2509 opened 6 years ago
ZaloConfig is a Singleton???
Why we don't passing directly
$zalo = new Zalo([
'app_id' => 'xxx',
'app_secret' => 'yyy',
'oa_id' => 'zzz',
'oa_secret' => 'www'
]);
into Zalo instance?
Make ZaloConfig passing secret and appid to PHP library like python library instead of manual edit
src/ZaloConfig.php
Hard code in library is not good.
https://github.com/zaloplatform/zalo-python-sdk