Add “Log in with Facebook” Button to Landing Pages and Blogs in HubSpot

INSTRUCTIONS:
1. Download the “log-in-with-facebook.php” file using the form below. Then, upload it to your web host.


2. Open your “log-in-with-facebook.php” file and enter the full URL of that file in the “Configuration” section.

3. Enter your Thank You page URL in the “Configuration” section of your “log-in-with-facebook.php” file.

4. Enter your HubSpot API key in the “Configuration” section of your “log-in-with-facebook.php” file.

5. Go to https://developers.facebook.com/docs/apps/register#developer-account and create a Facebook developer account.

6. Go to https://developers.facebook.com/docs/apps/register#create-app and create a new Facebook app.

7. Get the App ID and App Secret of your Facebook app and enter them in the “Configuration” section of your “log-in-with-facebook.php” file.

8. Go to the Advanced tab in your Facebook app’s Settings and enter the full URL to your “log-in-with-facebook.php” file in the “Valid OAuth redirect URIs” field.

9. You can now link to your “log-in-with-facebook.php” file just like a normal web page. There are a few different buttons you can use at http://stackoverflow.com/questions/13450192/official-facebook-connect-button-as-png.
ORIGINAL FEATURE REQUEST:
https://hubspot.uservoice.com/forums/76407-general-hubspot-ideas/suggestions/3274844-add-a-new-module-integrate-login-with-facebook

A lot of people are using the “Login with Facebook” button to connect their Facebook profile with a website, instead of completing the forms with Name, E-mail adress,etc. It’s the easiest way to register & login for extra-content, why Hubspot wouldn’t give this possibility too?