Bạn có chắc chắn muốn xóa bài viết này không ?
Bạn có chắc chắn muốn xóa bình luận này không ?
Xác thực số điện thoại người dùng với FB Account Kit
Xác thực số điện thoại người dùng miễn phí với Facebook Account Kit
Cách này tạm hiểu giống như là mượn hạ tầng của Facebook để gửi SMS xác thực số điện thoại người dùng nhập vào, nên vừa không tốn phí mà hiệu quả cao.
https://developers.facebook.com/docs/accountkit/overview
Account Kit creates a database just for your app. You can access the data at any time through a REST API. As people log into your app, this database is populated with a list of phone numbers or email addresses and Account IDs that can be used within your app. These Account IDs are unique to your app. If you also use Facebook Login for your app, you can be sure that there will never be a conflict with Facebook's app-scoped IDs.
- Call the Account Kit API with either a phone number or email address to initiate a login or registration.
- Account Kit servers send an SMS with a confirmation code to continue the login, or a confirmation email to the email address. Optionally, if the phone number is linked to a Facebook account, you may allow the user to verify their login via a Facebook notification in the event of an SMS failure.
- The SDK will verify the SMS confirmation code or monitor the status of the confirmation email.
- If your app has enabled Client Access Token Flow, your app will receive an access token containing an account ID in response to a successful login. If your app has not enabled Client Access Token Flow, your client app will receive an authentication code that the application's server may use to securely request an access token.
![]()
Karmi Phuc @ 08-05-2016







