fix(facebook): update stale unavailable marker string - #490
Merged
kaifcodec merged 1 commit intoAug 2, 2026
Conversation
kaifcodec
approved these changes
Aug 2, 2026
kaifcodec
left a comment
Owner
There was a problem hiding this comment.
@A-S-Manoj Thank you for the fix.
I tested it and it works now.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Facebook updated the copy on its profile-not-found interstitial from "This content isn't available right now" to "This content isn't available at the moment". The hardcoded
UNAVAILABLE_MARKERinfacebook.pyno longer matched this string, so_process_profile_response()fell through to the generic catch-all and returnedResult.error("Unexpected response body, report it via GitHub issues.")instead ofResult.available()for non-existent usernames.Fixes #484
Root Cause
Diffed raw HTML (using full browser-style request headers to get past Facebook's bot detection) between a known-existing profile and a non-existent username:
og:title/og:urlmeta tag based "taken" detection still works correctly — no change needed there.Fix
Testing
Ran locally against a mix of known-taken and known-available usernames: