Add Facebook username validation support (social category)#46
Add Facebook username validation support (social category)#46ali-m07 wants to merge 1 commit intokaifcodec:mainfrom
Conversation
|
@ali-m07 Thanks for the PR, great job, it works fine! One suggestion: Facebook enforces strict username rules (allowed symbols, length, etc.). To make this validator more accurate, could you add a regex-based pre-check before calling status_validate()? Suggested flow:
This avoids unnecessary requests and gives the user better feedback. |
|
Hey @ali-m07, I ran into this while working on the project. I tested the I opened #263 with an alternative approach that uses the account recovery lookup endpoint (same one used by the existing email scanner module). It reliably differentiates existing from non-existing usernames and includes the regex pre-validation that @kaifcodec requested. |
This PR adds Facebook username validation to the social category.