2017 © Pedro Peláez
 

silverstripe-module silverstripe-facebook

A silverstripe module to integrate Silverstripe with Facebook

image

micmania1/silverstripe-facebook

A silverstripe module to integrate Silverstripe with Facebook

  • Wednesday, July 10, 2013
  • by micmania1
  • Repository
  • 3 Watchers
  • 9 Stars
  • 62 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 4 Open issues
  • 3 Versions
  • 2 % Grown

The README.md

Silverstripe Facebook

This module is to allow integration between Facebook and Silverstripe. Its based (and ported from) the sstwitter module., (*1)

Features

  • CMS interface to integrate Silverstripe with a Facebook application & connect an account to the website.
  • Connect/Disconnect Member's to Facebook accounts.
  • Facebook signup.
  • Enable/Disable Facebook login & signup through the CMS.
  • Developer Access to Facebook API through the official Facebook PHP SDK.

Usage

$FacebookConnectURL (FacebookApp::connect_url()) This displays a link where a logged in user will be taken through the Facebook authentication process to connect their Facebook account., (*2)

$FacebookDisconnectURL (FacebookApp::disconnect_url()) This will disassociate the Facebook account from the Member., (*3)

$FacebookLoginURL (FacebookApp::login_url()) This will return a url whereby the user can login to their Silverstripe account through Facebook. It will sign the user up if a Facebook account connect be found and Signup is enabled., (*4)

<a href="$FacebookConnectURL">Connect</a><br />
<a href="$FacebookDisconnectURL">Disconnect</a><br />
<% if FacebookLoginURL %>
    <a href="$FacebookLoginURL">Login</a>
<% else %>
    Facebook Login is disabled.
<% end_if %>

Extending

Silverstripe Facebook allows you to use the full power of Facebook's PHP SDK. You can access this by referencing FacebookApp->getFacebook()., (*5)

The Versions

10/07 2013

1.0.x-dev

1.0.9999999.9999999-dev

A silverstripe module to integrate Silverstripe with Facebook

  Sources   Download

10/07 2013

dev-master

9999999-dev

A silverstripe module to integrate Silverstripe with Facebook

  Sources   Download

10/07 2013

1.0.0

1.0.0.0

A silverstripe module to integrate Silverstripe with Facebook

  Sources   Download