I'm trying to access the user profile picture using facebook API and it was working fine until last month. here is my code:
var fbVerifyKeys = _config["Facebook:AppId"] + "|" + _config["Facebook:AppSecret"];
var verifyTokenResponse = await _httpClient.
GetAsync($"debug_token?input_token={accessToken}&access_token={fbVerifyKeys}");
if (!verifyTokenResponse.IsSuccessStatusCode) return Unauthorized();
var fbUrl = $"me?access_token={accessToken}&fields=name,email,picture.width(100).height(100),id";
var fbInfo = await _httpClient.GetFromJsonAsync<FacebookDto>(fbUrl);
The URL returned by the API: https://platform-lookaside.fbsbx.com/platform/profilepic/?asid=6228789573841334&height=100&width=100&ext=1701853022&hash=AeTAOgkO4RlWrB0_th8
But this returns 404.
I also tried following URL: https://graph.facebook.com/6228789573841334/picture?type=large&redirect=false
But this returns Blank user image: