Extracted bitly_api_helper