Documentation

Landing Page Platform

Social logins

It is possible to let people sign in with their Facebook or Twitter account. This can be configured in /local/app/config/production/social-login.php. Instructions on how to obtain the necessary keys, are described in this file and below.

If you don't have this file because you've updated from an older version, you can copy the file from /local/app/config/production-config/social-login.php to /local/app/config/production/social-login.php.

Login with Twitter

In order to let people login with their Twitter account, you need a Twitter API key (https://dev.twitter.com/faq#46).

Go to https://apps.twitter.com/ and click "Create New App". Fill in the details and for "Callback URL" only enter your domain (this cannot be left blank allthough the actual callback url is set in the script). When the App has been created, click the "Keys and Access Tokens" tab and paste the Consumer Key (api_key) and Consumer Secret (api_secret) in the configuration file. This widget doesn't need write access, so you can click "modify app permissions" at Access Level, and select "Read only". Click "Update Settings" and you're ready to go.

Alternatively, if you don't want to use Twitter login, leave the configuration empty.

Login with Facebook

In order to let people login with their Facebook account, you need a Facebook Access token (https://developers.facebook.com/docs/facebook-login/access-tokens).

  1. Go to https://developers.facebook.com/ and log in.
  2. At the top menu, select My Apps > Add a New App. Or, if you're not registered as a developer yet, choose My Apps > Register as a Developer and accept the Facebook Platform Policy. And then choose My Apps > Add a New App.
  3. You will be asked to select a platform, choose "Website".
  4. Enter a name for your new app and click "Create New Facebook App ID".
  5. Select a category, for example "Business", and click "Create App ID".
  6. Scroll down and enter the url of your website. Click "Next".
  7. Go to the top menu again and select My Apps > [Name of your newly created App]
  8. Click "Show" next to App Secret.
  9. Use the App ID and App Secret in the configuration file.

Alternatively, if you don't want to use Facebook login, leave the configuration empty.