Adding Facebook id to api call.
Added validation functions.
Changed format of set_log output.
Moved validation code into functions.
Improved validation.
Added graph functions.
Removed unnecessary code.