micmania1/silverstripe-facebook 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

micmania1/silverstripe-facebook

Composer 安装命令:

composer require micmania1/silverstripe-facebook

包简介

A silverstripe module to integrate Silverstripe with Facebook

README 文档

README

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

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.

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

$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.

<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().

统计信息

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

GitHub 信息

  • Stars: 8
  • Watchers: 3
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2013-07-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固