This article provides step-by-step instructions on how to use Facebook Wi-Fi for Guest Authorization with UniFi.
Table of Contents
UniFi introduced the Facebook Authentication method for Guest Wi-Fi beginning in UniFi Network Controller version 5.6.12. This feature gives businesses the option to have users authenticate via Facebook to get Wi-Fi access. Facebook authorization provides a straight-forward path for customers to get on the Wi-Fi, as well as gaining the benefit to market the business via social media.
Much of how Facebook Wi-Fi works is based on Facebook's requirements which will differ from standard UniFi networks. In order to use Facebook Wi-Fi with UniFi, the following requirements must be met:
- Must be on UniFi Network Controller version 5.6.12 or later.
- Must have created a Facebook page for your business, and this page MUST be published publicly. See directions here.
- UniFi Network Controller must be online to process Guest Authorization.
1. Launch the UniFi Network Controller.
2. Go to Settings > Guest Control, and check "Enable Guest Portal" if not already enabled.
3. For Authentication, select "Facebook WiFi".
4. Once Facebook WiFi is selected as Authentication, a new section titled "Facebook WiFi" will appear on this page. In this section, provide a Gateway Name. This is only used on the Facebook WiFi and will not be visible to clients. Notice the note under Gateway Configuration: "Facebook Wi-Fi gateway configuration will be available after registering the gateway with Facebook. The registration will happen automatically after applying the changes with the Facebook Wi-Fi feature enabled for the first time. Once you select the name, it won't be possible to change it without gateway re-registration."
5. Provide the Gateway name, then hit "Apply Changes".
6. Once changes have been applied, proceed with Facebook WiFi configuration by clicking "GO TO FACEBOOK WIFI CONFIGURATION".
7. This link redirects to Facebook's site to proceed with the configuration steps. You should see a page like this:
8. Next, under the Facebook Page section, select the Facebook Page that you'd like the Wi-Fi to be associated with.
9. Under Bypass Mode, select either:
- "Skip check-in link" which permits users to get access to the Wi-Fi without having to check-in with social media.
- "Require Wi-Fi code" which requires the user to use a pre-defined Wi-Fi code you can provide to your customers.
10. Select "Session Length" to determine how long users should have access to Wi-Fi before having to re-authenticate.
11. Under "Terms of Service", if enabled you can require users to first accept your own Terms and Services.
12. Once you have configured these settings to your liking, click "Save Settings". You will then be prompted to close the window.
13. After these settings have been applied, the only thing that is left to do is to apply Guest Policies to your Facebook Wi-Fi Guest Network, by going to Settings > Wireless Networks > Select the SSID you wish to use Facebook Authentication with, and clicking "Apply Guest Policies", then click "Save" at the bottom of the page.
14. You should now be able to test Facebook Wi-Fi.
Testing Facebook Wi-Fi
This is the process from the user's perspective:
1. The user will connect via Wi-Fi to the Guest SSID. Once connected, they will be automatically prompted to complete additional steps as shown:
2. The user will then need to log in to Facebook to authenticate/associate the individual's Wi-Fi access with their Facebook account.
3. After signing in, the user will then be prompted with the ability to Check In, which is a nice way to increase traffic to your Facebook page, or alternatively skip Check-in or enter a Wi-Fi code depending on how you want to enforce this.