made the app ID and app secret optional to use this library

It is not mandatory to have an APP secret to use the API, so I removed the APP ID and secret from the constructor and added them where they are strictly needed.
This of course breaks backwards compatibility.
Please let me know if the `appsecret_proof` is still being used.