get('account/verify'); if( $user_info->error == 'Not found' ) { debug_event("Twitter", "Auth Successful! Posting Status", "5"); $twitteroauth->post('statuses/update', array('status' => 'is rocking out to ' . $return)); header('Location: ' . Config::get('web_path') ); } } else { debug_event("Twitter", "Auth Error going back to home.", "5"); header('Location: ' . Config::get('web_path') ); } ?>