Fortinet black logo

Cookbook

Configuring the Facebook developer account API

Copy Link
Copy Doc ID 53d09085-7746-11e9-81a4-00505692583a:506236
Download PDF

Configuring the Facebook developer account API

  1. Open a browser and log in to your Facebook account.
  2. Browse to the following URL:

    https://developers.facebook.com/products/login/

  3. Select My Apps and select Register as Developer.
  4. Confirm your Facebook password to continue.
  5. Select that you have read and agree to the Facebook Platform and Facebook Privacy policies, and select Next to continue.

  6. Enter your phone number and select to have your confirmation code sent to you via text (you may also choose to verify via phone call).
  7. Once received, enter the code and select Register to continue. You will now be registered as a Facebook developer.

  8. Next, select the Website platform to add a new application.
  9. Enter a name for the website and select Create New Facebook App ID.

  10. Select Communication from the drop-down Category menu and select Create App ID.
  11. Scroll down to the bottom of the page and enter the site's URL, then select Next. Scroll back up to the top of the page and select Skip Quick Start.

  12. To confirm the configuration, go to Settings > Basic. From here you can see your App ID, App Secret, Display Name, and Site URL.
  13. Take note of the App ID and App Secret as they are required when configuring thr captive portal on the FortiAuthenticator.

    Make sure to enter a Contact Email as it is required before you can make your application live to the public.

  14. Next you must add the FortiAuthenticator as the OAUTH2 client.
  15. Go to Settings > Advanced.

    Under Security, enter the Server IP Whitelist.

    Note that the server IP whitelist must inclide the public IP addresses of the FortiAuthenticator - this is the NAT IP address of the FortiAuthenticator uses to reach the Internet.

  16. Next, go to App Review and enable the application - the account needs to be made "live" before WiFi users can successfully authenticate through Facebook.
  17. The App ID and App Secret can be accessed at any time on the Facebook developer account, but it may be a good idea to copy them to a secure location.

Configuring the Facebook developer account API

  1. Open a browser and log in to your Facebook account.
  2. Browse to the following URL:

    https://developers.facebook.com/products/login/

  3. Select My Apps and select Register as Developer.
  4. Confirm your Facebook password to continue.
  5. Select that you have read and agree to the Facebook Platform and Facebook Privacy policies, and select Next to continue.

  6. Enter your phone number and select to have your confirmation code sent to you via text (you may also choose to verify via phone call).
  7. Once received, enter the code and select Register to continue. You will now be registered as a Facebook developer.

  8. Next, select the Website platform to add a new application.
  9. Enter a name for the website and select Create New Facebook App ID.

  10. Select Communication from the drop-down Category menu and select Create App ID.
  11. Scroll down to the bottom of the page and enter the site's URL, then select Next. Scroll back up to the top of the page and select Skip Quick Start.

  12. To confirm the configuration, go to Settings > Basic. From here you can see your App ID, App Secret, Display Name, and Site URL.
  13. Take note of the App ID and App Secret as they are required when configuring thr captive portal on the FortiAuthenticator.

    Make sure to enter a Contact Email as it is required before you can make your application live to the public.

  14. Next you must add the FortiAuthenticator as the OAUTH2 client.
  15. Go to Settings > Advanced.

    Under Security, enter the Server IP Whitelist.

    Note that the server IP whitelist must inclide the public IP addresses of the FortiAuthenticator - this is the NAT IP address of the FortiAuthenticator uses to reach the Internet.

  16. Next, go to App Review and enable the application - the account needs to be made "live" before WiFi users can successfully authenticate through Facebook.
  17. The App ID and App Secret can be accessed at any time on the Facebook developer account, but it may be a good idea to copy them to a secure location.