I have my Facebook app running without any problem in my localhost. But when I hosted it in Heroku, I got these problems.
The problem is when the user gets redirected from Facebook after login and permissions it shows blank page, and in Heroku logs it shows:
"NOTICE: PHP message: PHP Fatal error: Call to undefined function Facebook\HttpClients\mb_strlen() in /app/facebook/facebook- sdk/src/Facebook/HttpClients/FacebookCurlHttpClient.php on line 300"
I think the error is in mb_strlen()
function. I do not know how to rectify it.