Facebook app results vary locally and on Heroku Facebook app results vary locally and on Heroku heroku heroku

Facebook app results vary locally and on Heroku


The Facebook SDK stores the login data in the session. Since your AJAX request to your write.php does not send the complete facebook POST data, the facebook class assumes, that there is no signed request and therefore no data.

I encountered the same behaviour some times and the problem was always, that the session was not established correctly. Unfortunately I am not quite sure, what the exact cause was.