Download the PHP package inspiredminds/contao-facebook-login without Composer

On this page you can find all versions of the php package inspiredminds/contao-facebook-login. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package contao-facebook-login

Contao Facebook Login

Contao 4 bundle for a Facebook login.

Installation

Require the bundle via composer:

If you use the Contao Standard Edition, you will have to add

to your AppKernel.php. You will also need to add the bundle's routes to your app/config/routing.yml:

Then execute the Contao Install Tool (regardless of which edition you use).

Usage instructions

Facebook App

Before being able to use the Facebook login, you have to create a Facebook App for your website under developers.facebook.com/apps. Make sure to fill out at least the following fields:

Then you need to configure the Facebook Login on the left side under PRODUCTS. If said product is not there, you need to add it manually via + Add Product first. Make sure to fill out Valid OAuth URIs with the the following URL of your site: http://example.org/fblogincallback. If you are using https, use that instead (or both). Set the rest of the settings as seen in the screenshot below:

Facebook Login settings

Use Strict Mode for Redirect URIs can be enabled (new Facebook apps will have this enabled by default). Then make your App public under App Review.

Contao configuration

After creating the Facebook App, you need to set the Facebook App ID and Facebook App Secret. You can define these either in the website root or in the system settings. Use the former if you are using a multidomain setup.

Facebook Login module

Simply create a Facebook Login module in your theme and include it anywhere. It works and behaves the same way as the regular login module of Contao and also offers the same settings, plus the ability to define the member groups newly registered users will belong to and the ability to decide what personal data should be stored from Facebook.

You can also define additional Facebook Login Permissions. These will be added to the default permissions. The module will also save a user access token in the session under the variable facebook_login_access_token for later use.

Attributions

This bundle uses code provided and originally used by Kamil Kuzminski.


All versions of contao-facebook-login with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
contao/core-bundle Version ^4.6
symfony/routing Version ^3.0 || ^4.0 || ^5.0
facebook/graph-sdk Version ^5.6.2
fritzmg/contao-facebook-js-sdk Version ^3.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package inspiredminds/contao-facebook-login contains the following files

Loading the files please wait ....