Facebook Login SDK如何获取已验证手机号?为何Uber可申请该权限?
Great question—this is a super common point of confusion for developers navigating Facebook's Graph API and permissions ecosystem, so let's break this down clearly:
Core Context for Most Developers
- First, let's confirm what you've found: Facebook has completely removed public access to APIs that retrieve a user's verified phone number for standard developers. You won't find any active endpoints for this in current SDK documentation, and all legacy APIs that once supported this functionality have been deprecated and blocked. Any existing guides or answers claiming otherwise are out of date.
- If you try to submit a permission request for verified phone numbers via Facebook's App Review process, it will be rejected outright—this permission is no longer available to the general developer community.
Why Uber Can Still Access This Permission
Uber falls into a small category of Facebook enterprise-level/strategic partners. These are large, highly trusted platforms that have direct, custom agreements with Facebook. For these partners, Facebook may grant access to restricted permissions (like verified phone numbers) that aren't available to regular developers.
This isn't a loophole or a "secret API"—it's part of Facebook's private partner program, which prioritizes platforms with robust compliance frameworks, large user bases, and specific use cases that justify access to sensitive user data. Regular developers can't apply for or gain access to this program through standard channels.
What This Means for Your App
- If you need user phone numbers, your only compliant path is to ask users to manually enter their number and then verify it yourself (e.g., via SMS code). You can't rely on Facebook to provide this data anymore.
- Avoid trying to use deprecated APIs to work around this—Facebook actively enforces these restrictions, and doing so could lead to your app being suspended or removed from their platform.
内容的提问来源于stack exchange,提问作者Alexyesiam

