定制 collab/module-facebook-login 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

collab/module-facebook-login

最新稳定版本:1.0.0

Composer 安装命令:

composer require collab/module-facebook-login

包简介

Magento 2 module which provides ability to login using Facebook

README 文档

README

The Collab_FacebookLogin gives customers the ability to sign in to your website quickly and securely using their Facebook account. It is a secure and easy way to log in to your website without the need to remember a password. Module utilizes Collab_CustomerPasswordLessLogin module to create an account or login the user without the need of a password.

Initially module adds the button to the login form only. It is possible to add the button to any other place by following the instructions in the Basic usage section.

Why choose this extension over other solutions?

We don't believe in efficient modules which have tons of options - simple as that - modules which have multiple options, are prepared for many integrations always have some performance footprint for application. Having this in mind we are trying to provide simple, portable and independent modules which require some basic Magento 2 development skills.

PageSpeed

This module shoudn't by any means impact Your PageSpeed score. Module is not embedding any external scripts or styles which can impact main thread.

Prerequistes

  • client_id for Your FB app
  • client_secret for Your FB app
  • once client_id and client_secret are generated and obtained they need to be set up at Magento in Stores -> Configuration -> Collab Extensions -> Facebook Login

Basic usage

You can add the button to any place in the layout by referencing desired block/container:

<referenceContainer name="DESIRED_CONTAINER_NAME">
    <block name="collab.facebooklogin.button"
           template="Collab_FacebookLogin::button/fb.phtml"
           before="-"
           ifconfig="collab_facebooklogin/general/enabled">
        <arguments>
            <argument name="fb_login_config" xsi:type="object">
                Collab\FacebookLogin\ViewModel\FacebookLoginConfig
            </argument>
        </arguments>
    </block>
</referenceContainer>

Installation details

composer req collab/module-facebook-login
bin/magento setup:upgrade

统计信息

  • 总下载量: 257
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-04-16