andrelohmann-silverstripe/bootstrap_social_connect

Silverstripe Connect/Login Buttons for Facebook, Twitter and Google

v2.1.0 2015-09-16 18:58 UTC

This package is auto-updated.

Last update: 2024-10-29 04:20:04 UTC


README

Maintainers

  • Andre Lohmann (Nickname: andrelohmann)

Requirements

Silverstripe 3.2.x

Introduction

Social Login/Connect with Twitter, Facebook and Google

Usage

Set AppID Parameters like in _config.php

The signup methods on FacebookController, TwotterController and GoogleController are just examples. Write your own Signup Method (with your specific form and parameters) and set the pathes.

Create Apps

Facebook

Google

Instagram

  • go to https://instagram.com/developer/ and register your application (Manage Clients)
  • set the correct URL
  • fetch API Key and API Secret and set inside your _ss_environment.php

Twitter

  • go to https://apps.twitter.com/ and create a new application
  • set all necessary URLs and save
  • go to settings and check "Allow this application to be used to Sign in with Twitter"
  • copy all credentials

Sources

used following sources for implementation

Facebook Login

https://developers.facebook.com/docs/facebook-login/login-flow-for-web-no-jssdk/

Google Login

https://developers.google.com/+/web/signin/server-side-flow https://developers.google.com/accounts/docs/OAuth2WebServer

Twitter login

https://dev.twitter.com/docs/auth/implementing-sign-twitter https://dev.twitter.com/docs/auth/oauth

https://github.com/abraham/twitteroauth

Notice

This repository uses the git flow paradigm. After each release cycle, do not forget to push tags, master and develop to the remote origin

git push --tags
git push origin develop
git push origin master