I compared your 'new' version to what I have, and there were no differences. What is needed here is an automatic creation of tokens. Something JFBconnect managed to implement in their use of the FB API. This probably isn't easy, so for now this is my best solution at the moment renewing/deleting the FB API Secret ID token inside the module through MySQL.
If you can create an easy way to do this, that would be great too.