public async Task <FbToken> GetFbToken() { try { var client = new HttpClient(); var url = _stringshelper.CreateTokenRequestUrl(); var response = await client.GetAsync(url); var result = await response.Content.ReadAsStringAsync(); return(JsonConvert.DeserializeObject <FbToken>(result)); } catch (Exception) { return(null); } }