main: get_data() added support for callback functions as data handler
oauth up