Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Facebook Custom Connector Update

  1. #1
    chad.hutchins is offline Sugar Community Member
    Join Date
    May 2007
    Location
    Texas
    Posts
    141

    Wink Facebook Custom Connector Update

    I've made an update to my custom Connector for Facebook that I posted several weeks ago (link to old post: http://tinyurl.com/ba2hfd). What is it? Social media is mainstream, and thus keeping track of our customers on social media sites is becoming more important. This connector helps you keep track of your customers who are on Facebook, pulling public profile information through to your contact views.

    Several people had issues installing the old version. Hopefully this post will help some you get it up and running.

    To Install:
    1) Download the attached zip file. Upload and install with Module Loader.
    2) In Admin -> Connectors -> Enable Connectors, click on the Facebook tab, drag the 'contacts' module to the 'enabled modules' section and save.
    3) Create a custom field in the contacts module, called facebook_c. The connector will use this field to This field will hold the contact's Facebook ID.
    4) The tricky step (workaround for a SugarCRM bug in custom connectors):
    if you already have a connector enabled on the contact module:
    a) open /custom/modules/Contacts/metadata/detailviewdefs.php, look for the 'displayParams' array for the 'full_name' variable.
    b) there should be something that looks similar to:
    PHP Code:
    'displayParams' =>  array(
      
    'enableConnectors' => true,
      
    'module' => 'Contacts',
      
    'connectors' => array (
        
    => 'ext_rest_linkedin',
      ),
    ), 
    add the Facebook Connector declaration:
    PHP Code:
    'displayParams' =>  array(
      
    'enableConnectors' => true,
      
    'module' => 'Contacts',
      
    'connectors' => array (
        
    => 'ext_rest_linkedin',
        
    => 'ext_rest_facebook',
      ),
    ), 
    if you don't have any connectors enabled yet, you will need to add everything that is in the 'displayParams' array above to your 'displayParams' array.

    At this point the connector should be installed. BUT it isn't very useful until you start populating the facebook_c fields with your contacts' associated Facebook IDs.

    How to add Facebook IDs:
    1) Go to a contact, the Facebook logo should appear by the contacts name. If it doesn't, then the connector was not installed correctly. Post on this thread so we can help each other out.
    2) Edit the contact, give the facebook_c field the value 54601110, then save. After doing this and viewing the contact, if you scroll over the Facebook icon, it should show my name and picture.

    How to find a contact's Facebook ID:
    1) Login to Facebook and search for the contact by email address.
    2) If you find it, click on their profile.
    3) In the address bar, look for the profile.php?id= and copy the number that follows it.
    4) Paste the number into the corresponding contact's facebook_c field


    I should be able to monitor this thread closely today, so ask questions if you can't get things working.

    Thanks and sorry for the long post!

    -chad
    Attached Files Attached Files

  2. #2
    Masher is offline Junior Member
    Join Date
    Apr 2008
    Location
    UK
    Posts
    3

    Default Re: Facebook Custom Connector Update

    Excellent,

    I will take a look now

  3. #3
    dtokeefe's Avatar
    dtokeefe is offline Sugar Community Member
    Join Date
    Mar 2005
    Location
    Sao Paulo, Brasil
    Posts
    671

    Default Re: Facebook Custom Connector Update

    Interesting.
    David O'Keefe
    Lampada Global Services
    SugarCRM Gold Partner
    USA: +1 908 998-2278
    BR: +55 11 3237-3110
    Skype: dtokeefe
    Email: equipe@lampadaglobal.com
    www.lampadaglobal.com

    Lampada Global delivers enterprise software and offshore programming services to customers around the world.

  4. #4
    robwalsh is offline Junior Member
    Join Date
    May 2009
    Posts
    1

    Default Re: Facebook Custom Connector Update

    Hi,

    I am using CE Version 5.2.0d (Build 5604) but when I go to load your zip file I get this message....

    The zip file is missing a manifest.php file. Cannot proceed.

    Despite the fact that there is clearly a manifest.php in the zip file....

    Any clues?

    Thanks

    Rob

  5. #5
    chad.hutchins is offline Sugar Community Member
    Join Date
    May 2007
    Location
    Texas
    Posts
    141

    Default Re: Facebook Custom Connector Update

    Rob,

    I've attached a new version that should install ok, but you will still have to make the customizations to get it working from the original post above.

    thanks,

    chad
    Attached Files Attached Files

  6. #6
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Facebook Custom Connector Update

    When are you going to post this on your SugarForge project?

    http://www.sugarforge.org/projects/facebook-cnctr/

    This looks pretty cool. You'll get more visibility on it there.

    Clint
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  7. #7
    toddbenjamin is offline Junior Member
    Join Date
    Apr 2009
    Posts
    2

    Default Re: Facebook Custom Connector Update

    I've Got the connector installed and visible on the contact, but no Facebook data appears in the link.
    I had to add the facebook_c field to the edit view for the contact manually, and HAVE populated that field with a value.

    I notice that the connector settings shows two blank fields in the URL/API configuration view. Maybe that's my problem, but I don't know what to put in there.

    Any ideas?

    Thanks,
    Todd

  8. #8
    deepbluefish is offline Junior Member
    Join Date
    May 2007
    Posts
    1

    Default Re: Facebook Custom Connector Update

    Im just trying the module as well, and have got the facebook connector properties setup and found them empty. Do we need to enter some urls to access the api here ? anyhelp appreciated, looking to checking out your module.

  9. #9
    labanjohnson is offline Sugar Community Member
    Join Date
    Jul 2007
    Location
    Houston, TX
    Posts
    139

    Default Re: Facebook Custom Connector Update

    The module seems to have installed okay, but I don't see the Facebook logo. What now?
    Laban Johnson
    SugarCE User, Idealist
    Open Source and Social Media Enthusiast, Social Entrepreneur
    Twitter: http://www.twitter.com/labanjohnson
    Facebook LinkedIn
    Home page: http://www.LabanJohnson.com

  10. #10
    tylerkolden is offline Member
    Join Date
    Sep 2009
    Posts
    10

    Default Re: Facebook Custom Connector Update

    Has any progress been made on this? My facebook logo didn't appear until I added http://tacebook.com to the two blank fields in the connector settings.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Anyone want a Facebook SugarCRM Connector?
    By chad.hutchins in forum Developer Help
    Replies: 27
    Last Post: 2012-04-07, 09:04 AM
  2. Connector Settings: Map Connector Fields, Problems
    By Hooijer in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2009-01-09, 09:08 AM
  3. custom fields - not update
    By bigpietro in forum Help
    Replies: 1
    Last Post: 2006-06-02, 03:34 AM
  4. Bulk update on custom Bug fields
    By leigh in forum Help
    Replies: 0
    Last Post: 2006-05-24, 01:53 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •