Aller directement à la fin des métadonnées
Aller au début des métadonnées

Facebook Integration for CiviCRM

Features / Functionality

These are some possible features to consider including in the prototype:

  • Add "check for Facebook link" action (button?) to Contact Summary screen. This checks if the currently viewed contact is a "Friend" of the logged in user.
  • Show a Facebook "tab" on Contact Summary screen if the contact being viewed IS a friend
  • Retrieve a few elements from the friends FB profile and display on the Facebook tab:
    • current status
    • photo
    • shared Network (friends that logged in user has in common with currently viewed contact/fb friend)
  • Trigger one or more Facebook Actions from within CiviCRM (probably from the contact's FB tab):
    • Send Gift, Poke, Write on Wall, Message, View Full Profile
  • Retrieve and display a list of all contacts in CiviCRM who are currently linked to the logged in user as a Facebook friend
  • Search Facebook for friends of the currently logged in user who are in the CiviCRM DB but are NOT already linked as friends in CiviCRM

Tasks

  • Get Facebook account(s) and install the Facebook Developer App
  • Review the platform doc - especially API usage
  • Identify the data elements needed at the contact/user level so that the CiviCRM/FB component can access that contact's FB friends data
  • Prototype one or more of the features above

Steps for Facebook integration

At CodeCampMumbai we were able to integrate Facebook with CiviCRM. If anyone is interested in taking this feature further do check, http://svn.civicrm.org/civicrm/branches/codecamp/

Steps for initial setup:

1. Create an application in your Facebook account. Once do this, you will get Key and Secret, which you add this in CiviCRM.

2. Goto www.facebook.com/code_gen.php?api_key=APIKEY. Then generate token which you can copy/paste in CiviCRM Contact add/edit form.

3. Every facebook user will have to copy/paste this generated token in CiviCRM.

4. Now you will have Facebook Tab in Contact Summary. This will display users Facebook profile. Also in Contact Dashboard you can see Facebook friends who are already in CiviCRM db.

Étiquette
  • Aucun
  1. Nov 16, 2007

    JoeMurray dit :

    Additional possible feature:

    • action (associated with search drop down) to invite CiviCRM contacts to become friends of currently logged in user if current user has a Facebook account
    • phase 2: perhaps some way to highlight users in Facebook who have done CiviCRM actions, eg top five donors, top five recruiters, top five email-to-politicians, etc
    • phase 2: perhaps some way to integrate actions taken in Facebook into CiviCRM functionality (doesn't necessarily mean creating CiviCRM records for these actions), so that if users do actions in Facebook like recruit to a Facebook group, this info is available to CiviCRM advanced search. This stuff should have API developed for it that is used for basic CiviCRM Facebook app.
  2. Nov 19, 2007

    Andrew Hunt dit :

    I see our members having a hard time (and/or being nervous) about generating a token and sending it to us.  They'll conflate it with giving us their Facebook password, and they won't do it.

    Once this gets past the initial tinkering phase, I strongly suggest building a way for the Facebook App to post the token directly to CiviCRM. 

  3. Nov 19, 2007

    Matt Chapman dit :

    I'm concerned about the same issue as Andrew, not only for user's secuity concerns, but also actual or percieved difficulty of set-up for the user. I get the feeling most Facebook users aren't particularly tech saavy, and many will tune out the moment they see something like 'API key.'

    At this point, I suspect we're better off just letting the user provide a link to their facebook page for their public CiviCRM profile. 

  4. Nov 20, 2007

    JoeMurray dit :

    I agree...it's basically unusable if people have to do something this technical which other Facebook apps don't require.

    1. Nov 21, 2007

      Note that the facebook integration was a codecamp project and something we wanted to play with. As such it is experimental. We are not planning on putting in any more resources on this for the 2.0 release. If you are interested in pushing this forward, please let us know

  5. Jul 23, 2008

    Kathy Reid dit :

    Hi there, I think having Facebook features is a fantastic idea for CiviCRM. I have been impressed with it so far - and I think many nonprofits are using the social web with sites such as Facebook as a promotional tool. One of the key concepts that I think needs explaining here is that CiviCRM could be used entirely as a backend tool - with donors and volunteers not even knowing that CiviCRM is used to store information. It would only be if online registration is used that a donor/member would know about CiviCRM.

    Therefore, I wonder if a different approach would be useful - similar to WordPress. When you sign up at WordPress, you get an API key. This is then entered in to your WordPress installation, and can be used on things like Facebook to integrate only one instance of WordPress. What if each installation of CiviCRM generated an API key, and therefore could be integrated into WordPress in this way? See for instance WordBook - a Facebook app for WordPress.

    The owner/administrator of the instance could then publish the API key to volunteers/members/donors if they wanted to install the CiviCRM facebook application so that it linked with their organisation's instance of CiviCRM. The administrator could also then configure how much data was shared out of CiviCRM, in line with the NFP organisation's policies.

     Please don't interpret me incorrectly - I am amazed at the functionality of CiviCRM and make these comments in the hope that they contribute to the development of an excellent application. I am also a PHP programmer so understand the programming implications of this design.

     Please feel free to contact me (sourire)

     Kind regards,

    Kathy Reid

    1. Jul 28, 2008

      Hi Kathy - It sounds like you might have the right combination of technical and "use case" background to push this idea forward "in the right way". We are in the early stages of planning for the 2.2 release - so it's a good time to get new functionality spec'd and on the roadmap. A good next step might be to flesh out your description of the "flow" a bit more (esp. for folks who aren't familiar w/ the Wordpress functionality) and post this on the CiviCRM community forum (http://forum.civicrm.org) - to get some feedback and calibrate interest.

  6. Jun 07, 2010

    This could be a very valuable tool, we are planning a second event, where the first one had 350 attendants.

    1. if each facebook attendee RSVP would add to a civi event list that would be great.

    2. if we could import the data from the 350 people who attended the first event..

    I see this cross platform type of use as very important.....

  7. Apr 26, 2011

    Facebook and Twitter use with non-profits seems to be really exploding.  Maybe it's time to look at this functionality again.  Would it be possible to try this as a Make It Happen?

    1. Apr 27, 2011

      Matt - It does seem that FB and Twitter use is increasing w/ non-profits. AND ... There are lots of different possible points / methods of integration. For example with Twitter: One site I know of simply added a widget which displays filtered Twitter feed on the Civi home page (pretty simple "integration"). Others might want something more CRM-ish - e.g. monitoring tweets and recoding an activity for a contact whenever the tweet using the org's hashtag.

      For FB, there are also a number of different ways of thinking about integration (see wishlists / examples and concerns above). One starting point might be just integrating with the organization's own FB page and synching to friends or "likes" and wall posts at that level???

      Before an MIH is posted you should develop a draft (prioritized) list of specific integration features and share that (via blog) with the community to get feedback and aggregate folks who are willing to sponsor. I would keep that list pretty limited for the 1st iteration, perhaps building a foundation for additional features (in core, or via modules).


Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 United States Licence.