[Tickets #9674] Re: Turba can't access Service_Facebook
bugs at horde.org
bugs at horde.org
Sat Mar 19 00:15:39 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9674
------------------------------------------------------------------------------
Ticket | 9674
Updated By | hordetest at trash-mail.com
Summary | Turba can't access Service_Facebook
Queue | Horde Framework Packages
Version | Git master
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
hordetest at trash-mail.com (2011-03-19 00:15) wrote:
Adding this to methods getAddressBook and getEntry of the Facebook
Turba Driver:
$facebook =
$GLOBALS['injector']->getInstance('Horde_Service_Facebook');
/* Authenticate the client */
$temp = unserialize($GLOBALS['prefs']->getValue('facebook'));
if (!empty($temp['sid'])) {
$facebook->auth->setUser($temp['uid'], $temp['sid'], 0);
}
More information about the bugs
mailing list