complete code:
;
Merge https://github.com/gyaan/Create-Event---Facebook-App-Behalf-Of-A-User-And-Page