コード例 #1
0
        public async Task <IActionResult> ClientFbLikeByToken(string token)
        {
            try
            {
                var fbLikes = await _facebookClient.ApiFbByToken(token);

                return(Ok(fbLikes));
            }
            catch (ApiException exMessage)
            {
                _logger.LogError($"Facebook like : {exMessage.Message}");
                return(NotFound());
            }
        }