Return to Jive Software

Currently Being Moderated

Facebook plugin

VERSION 1 

Created on: Dec 3, 2008 5:46 PM by nate - Last Modified:  Dec 3, 2008 5:47 PM by nate

Facebook Beta Plugin

 

The Facebook plugin integrates the users' Facebook profiles into Clearspace while allowing each user to control how (or if) their Facebook information is shown. A reduced set of Facebook features is displayed including Profile, Education and Work, Photos, Friends, Groups, and Other information. The user can choose exactly which piece of information is displayed by changing the settings under "Choose Facebook Details". Users can also disconnect their Facebook profile from Clearspace if they no longer want to share it. After installing, each user profile will have a Facebook Profile tab; for those users not participating, the tab will include a message stating that "No Facebook profile information is available for this user".

 

Beta Disclaimer

 

This is beta code, so expect a few bugs and use it at your own risk. We are interested in your feedback about this plugin.

 

What's Included

 

The source code and the jar file for the Facebook plugin.

 

Building and Deploying the Code

 

You can deploy the plugin a number of ways. Here are 2 options:

 

  • Just copy the plugin JAR file into the <jiveHome>/plugins directory. Your running Clearspace instance will deploy it automatically.

  • Open the admin console and navigate to System > Settings > Plugins, then browse for your plugin JAR file.

Using the Facebook Plugin

  • From the "Your Stuff" drop down, you should now see a Facebook Profile option at the bottom.

  • Clicking on the Facebook Profile option will prompt you to "Log in to Facebook"

  • Make sure you select the checkbox next to "Allow Clearspace to access my information"

  • Click the link to Refresh to view your Facebook details

  • You should now see your Facebook profile and a new Facebook profile tab on your profile page

Credits

Thanks to Face It! for doing the initial development of this plugin. Jive engineers will be performing bug fixes and maintaining the plugin.  Let us know if you find any bugs.

 

Download

 

<h2>Licenses and Notices</h2>

<p>Except where explicitly stated otherwise, this plugin is Copyright 2007 Jive Software Licensed under the Apache License, Version 2.0. (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. </p>

 

Some files in this distribution are covered under the license below.

 

+---------------------------------------------------------------------------+
 | Facebook Development Platform Java Client                                 |
 +---------------------------------------------------------------------------+
 | Copyright (c) 2007 Facebook, Inc.                                         |
 | All rights reserved.                                                      |
 |                                                                           |
 | Redistribution and use in source and binary forms, with or without        |
 | modification, are permitted provided that the following conditions        |
 | are met:                                                                  |
 |                                                                           |
 | 1. Redistributions of source code must retain the above copyright         |
 |    notice, this list of conditions and the following disclaimer.          |
 | 2. Redistributions in binary form must reproduce the above copyright      |
 |    notice, this list of conditions and the following disclaimer in the    |
 |    documentation and/or other materials provided with the distribution.   |
 |                                                                           |
 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR      |
 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.   |
 | IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,          |
 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT  |
 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY     |
 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT       |
 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF  |
 | THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.         |
 +---------------------------------------------------------------------------+
 | For help with this library, contact developers-help@facebook.com          |
 +---------------------------------------------------------------------------+
3,071 Views Tags: plugins
Average User Rating
(2 ratings)
Nathan Krake Nathan Krake  says:

Hi Nate..

 

Thanks for providing/updating this.. it works really well.. Great Work!

 

I do have one question regarding the photos..

 

I have photos (photo albums) on my facebook page, but yet, after ensuring that I have selected photos within my Clearspace/Facebook setup, no photos appear..

 

I would have thought that selecting Photos and choosing the number would show the number of albums? I have turned the option off and on and changed the number of photos to display.. but nothing appears..

 

Perhaps I am missing something?

 

I'm running CS 2.5.3 on Windows 2003 Seerver with Tomcat 6

 

Any suggestions?

 

Kind regards

Nathan

Rob Alexander Rob Alexander  says:

Hi, Nate,

 

I'm excited to see that this plugin is now available for Clearspace 2.5x. Any ideas when this plugin will no longer be considered beta?

 

Thanks,

Rob

nate nate  says in response to Rob Alexander:

I don't think there are any plans to move this out of beta. All I did was get this plugin working for 2.5 and did some other minor fixes. I'm going to try and get all the source posted so anyone who wants can start hacking on it. It is a really cool plugin with a ton of potential so hopefully someone will be inspired to expand it.



Edgar Vonk Edgar Vonk  says:

Nice plugin! I was wondering if there is anyone out there looking into building a Facebook Application that reads data out of Clearspace into Facebook. I.e. exactly the other way around as this Facebook widget does.

 

Or maybe someone could point me in a direction in what would be involved in such an effort? With the rich REST API that Clearspace offers I'm sure it must be possible.

Martin Rowbory Martin Rowbory  says:

Am I missing something with this plugin...?  When I click the link to 'log in to facebook' it pops up a blank window and nonthing happens?

 

Any ideas.

 

Am running CS2.5.5. Have tried unistalling and re-installing the plugin. And tried in IE and FF.

nate nate  says in response to Martin Rowbory:

Martin,

 

I'll dig into this today and let you know what I find.

Martin Rowbory Martin Rowbory  says in response to nate:

It appears the desktopAppLoginURL isn't getting populated.  Do I need to configure this somewhere?

nate nate  says in response to Martin Rowbory:

Looks like you are on to something. Would you be willing to beta test a new version?

Paul Anthony Paul Anthony  says in response to nate:

Is there any update on this?  I'm very interested in this plugin.

Jean Chen Jean Chen  says in response to nate:

For 1.10.12, I got the error for facebook-login.ftl for undefined variable desktopAppLoginURL

 

Any idea??

Download Plugin for

Plugin Info

  • facebookplugin
  • by nate
  • Compatible with 1.x, 2.5.x

Bookmarked By (0)

More Like This

  • Retrieving data ...

More by nate