DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: Facebook Connect to TYPO3

Created:2010-02-18T17:33:18
Changed by:Ron Schöllmann
Changed:2010-10-27T17:41:27
Classification:facebook2t3
Description:The keywords help with categorizing and tagging of the manuals. You can combine two or more keywords and add additional keywords yourself. Please use at least one keyword from both lists. If your manual is NOT in english, see next tab "language" ---- forEditors (use this for editors / german "Redakteure") forAdmins (use this for Administrators) forDevelopers (use this for Developers) forBeginners (manuals covering TYPO3 basics) forIntermediates (manuals going into more depth) forAdvanced (covering the most advanced TYPO3 topics) see more: http://wiki.typo3.org/doc_template#tags ----
Keywords:facebook, fe_users, login, import, users, forAdmins, forBeginners
Author:Ron Schoellmann, NetSinn
Email:ron@netsinn.de
Info 4:
Language:en

img-1 img-2 EXT: Facebook Connect to TYPO3 - facebook2t3

EXT: Facebook Connect to TYPO3

Extension Key: facebook2t3

Language: en

Keywords: facebook, fe_users, login, import, users, forAdmins, forBeginners

Copyright 2000-2010, Ron Schoellmann, NetSinn, <ron@netsinn.de>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.org

Table of Contents

EXT: Facebook Connect to TYPO3 1

`Introduction 3 <#__RefHeading__10414_965943910>`_

What does it do? 3

`Users manual 4 <#__RefHeading__10418_965943910>`_

Server requirements 4

Guide 4

FAQ 4

`To-Do List 5 <#__RefHeading__449_1055650960>`_

`ChangeLog 6 <#__RefHeading__10420_965943910>`_

Introduction

What does it do?

  • Let users connect to their Facebook account and import data to table fe_users
  • When logging in again user data will be updated
  • User will be logged in as FE user and a Facebook logout button will appear instead of the login button
  • Don't use this extension together with extension sociallogin2t3 on the same page
  • More info: http://blog.firmstream.com/2010/08/23/facebook-connect-to- typo3/

Users manual

Server requirements

  • PHP>=5.2
  • libcurl package for PHP

Guide

  • Create a Facebook application at http://developers.facebook.com/setup/ (don't worry, no coding necessary here, you just need some numbers and you have to type in your web site url in the core settings) and copy the application id and secret
  • Install extension facebook2t3 through TYPO3 Extension Manager
  • Include static template "Facebook Connect to TYPO3 (facebook2t3)" in your page template:Template > Info/Modify > “Edit the whole template record” > Includes > “Include static (from extensions)” > Select “Facebook Connect to TYPO3 (facebook2t3)”
  • Use Template > Constant Editor > FACEBOOK2T3 to enter user storage page, group id, Facebook application id, Facebook secret and fields as described in the constant editor
  • Insert the plugin on whatever page you want the login/ logout button to appear
  • Apply styling as necessary to “div.tx-facebook2t3-pi1” and possible children elements
  • Check for discussion on http://blog.firmstream.com/2010/08/23 /facebook-connect-to-typo3/

FAQ

How to import the email address from Facebook?

Just add “email” to constants via Constant Editor or typoscript. Here is an example:

plugin.tx_facebook2t3_pi1 {
   facebookFields4Perms = email, name, first_name, last_name, link, gender, email
   facebookFields4Fetch = email, name, first_name, last_name, link, gender, email
   fe_usersFields = username, name, tx_facebook2t3_first_name, tx_facebook2t3_last_name, tx_facebook2t3_link, tx_facebook2t3_gender, email
}

In this case the email address is imported twice into table fe_users: into fields username and email.

To-Do List

  • Dual login from Facebook and TYPO3 front-end
  • Include proxy settings for curl