I noticed a broken image on this profile. Closer inspection showing the avatar throw error with status code 400, for this url: https://graph.facebook.com/280988338943803/picture?type=large

Probably the person deleted their facebook account at some point, resulting in the broken avatar.

Can this please be fixed so it will either fallback to the facebook anonymous avatar, or reset to show identicon?

  • 1
    How would SE know the facebook account got deleted?
    – rene
    Dec 23, 2018 at 13:50
  • @rene pretty easy to catch error when requesting the image with server side request, e.g. scheduled job scanning all Facebook avatars daily, for those that return error status, reset the avatar. Also, I assume Facebook does have API that returns basic user data based on their ID, but it would probably require more dev time on SE side. Dec 23, 2018 at 13:52
  • Isn't that similar to what was tried with the broken links review queue. That is a lot of accounts to check?
    – rene
    Dec 23, 2018 at 13:57
  • @rene I don't think there are many with active Facebook avatar, wonder if we can get data with SEDE? Dec 23, 2018 at 13:59
  • over a million: data.stackexchange.com/stackoverflow/query/952158
    – rene
    Dec 23, 2018 at 14:05
  • @rene oh my. So... maybe even ugly client side hack using onerror. Dec 23, 2018 at 14:10
  • meh, not worth the effort.
    – rene
    Dec 23, 2018 at 14:16
  • Looks like the error code is now 100 instead of 400? Mar 8, 2019 at 11:58
  • @Bookends It's the HTTP status code that is 400, not the number in the response. That is still 400.
    – Dan
    Mar 8, 2019 at 12:12
  • @Bookends as Dan said, I'm referring to the "public" error code, not the internal Facebook error which is less relevant for us as users. Mar 8, 2019 at 17:24


You must log in to answer this question.

Browse other questions tagged .