<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>facebook integration: UID wrong</title> 
  <pubDate>Fri, 10 Apr 2026 09:04:33 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9889</link> 
  <atom:link rel="self" type="application/rss+xml" title="facebook integration: UID wrong" href="https://bugs.horde.org/ticket/9889/rss" /> 
  <description>facebook integration: UID wrong</description> 
 
   
   
  <item> 
   <title>In the current stable release (PEAR download, Horde_Service_</title> 
   <description>In the current stable release (PEAR download, Horde_Service_Facebook 1.0.0) of H4, the facebook integration gets a wrong UID when authorizing with fb.

My FB uid ends on ...2296, but after authorizing horde against my fb app, the UID ...2000 is written to the database.
This has the effect that in the preferences pane of horde, no picture is displayed and horde does not see that I&#039;m authorized.

</description> 
   <pubDate>Wed, 13 Apr 2011 07:29:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9889#t63615</link> 
  </item> 
   
  <item> 
   <title>This is an integer overflow being caused somewhere between F</title> 
   <description>This is an integer overflow being caused somewhere between Facebook and horde.</description> 
   <pubDate>Wed, 13 Apr 2011 14:06:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9889#t63629</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Ensure that </title> 
   <description>Changes have been made in Git for this ticket:

Ensure that this value is treated as a string to avoid issues due to overflows
(Hopefully) fixes Bug: 9889

 2 files changed, 3 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/1598242d6e4a98614f00d463eb873c450f81fbf1</description> 
   <pubDate>Thu, 14 Apr 2011 03:17:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9889#t63697</link> 
  </item> 
   
  <item> 
   <title>Can you try what I just committed?</title> 
   <description>Can you try what I just committed?</description> 
   <pubDate>Thu, 14 Apr 2011 03:18:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9889#t63698</link> 
  </item> 
   
  <item> 
   <title>Assuming that the installation provided by PEAR packages rea</title> 
   <description>Assuming that the installation provided by PEAR packages really uses the files in /usr/share/php/Horde/Service/Facebook, I tried -- and it won&#039;t fix the issue.
Now, additionally to the fact that the wrong UID is still written to the DB, the preferences page says &quot;Could not find authorization for to interact with your Facebook account.&quot;.</description> 
   <pubDate>Thu, 14 Apr 2011 07:32:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9889#t63709</link> 
  </item> 
   
  <item> 
   <title>&gt; Assuming that the installation provided by PEAR packages r</title> 
   <description>&gt; Assuming that the installation provided by PEAR packages really uses 
&gt; the files in /usr/share/php/Horde/Service/Facebook, I tried -- and it 
&gt; won&#039;t fix the issue.
&gt; Now, additionally to the fact that the wrong UID is still written to 
&gt; the DB, the preferences page says &quot;Could not find authorization for 
&gt; to interact with your Facebook account.

Strange. This works perflectly for me on a new fb account with a similarly large id.  Is your server 64 or 32 bit?</description> 
   <pubDate>Thu, 14 Apr 2011 13:41:46 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9889#t63727</link> 
  </item> 
   
  <item> 
   <title>&gt; Strange. This works perflectly for me on a new fb account </title> 
   <description>&gt; Strange. This works perflectly for me on a new fb account with a 
&gt; similarly large id.  Is your server 64 or 32 bit?

Debian 32 bit</description> 
   <pubDate>Thu, 14 Apr 2011 14:03:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9889#t63728</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Strange. This works perflectly for me on a new fb account</title> 
   <description>&gt;&gt; Strange. This works perflectly for me on a new fb account with a
&gt;&gt; similarly large id.  Is your server 64 or 32 bit?
&gt;
&gt; Debian 32 bit
I&#039;ll have to setup a 32bit vm to test this.</description> 
   <pubDate>Thu, 14 Apr 2011 14:06:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9889#t63730</link> 
  </item> 
   
  <item> 
   <title>Just reinstalled the PEAR package Horde_Service_Facebook and</title> 
   <description>Just reinstalled the PEAR package Horde_Service_Facebook and applied your commited patches manually - no change.</description> 
   <pubDate>Thu, 14 Apr 2011 14:11:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9889#t63731</link> 
  </item> 
   
  <item> 
   <title>After upgrading to Horde 4.0.2 et al (pear upgrade --alldeps</title> 
   <description>After upgrading to Horde 4.0.2 et al (pear upgrade --alldeps -c horde), the problem still exists.

In horde.log, I found the following lines after trying to authorize my facebook account in horde:

2011-05-04T10:36:13+02:00 NOTICE: HORDE [horde] PHP ERROR: Undefined variable: uid [pid 31131 on line 450 of &quot;/var/www/imzadi.de/www/wm/lib/Prefs/Ui.php&quot;]
2011-05-04T10:36:17+02:00 NOTICE: HORDE [horde] PHP ERROR: Only variable references should be returned by reference [pid 31129 on line 156 of &quot;/usr/share/php/Horde/Service/Facebook/Auth.php&quot;]
2011-05-04T10:36:18+02:00 NOTICE: HORDE [horde] PHP ERROR: Only variable references should be returned by reference [pid 31130 on line 156 of &quot;/usr/share/php/Horde/Service/Facebook/Auth.php&quot;]
2011-05-04T10:36:20+02:00 NOTICE: HORDE [horde] PHP ERROR: Only variable references should be returned by reference [pid 31131 on line 156 of &quot;/usr/share/php/Horde/Service/Facebook/Auth.php&quot;]

The basic problem -- the wrong uid being saved to the database -- still persists.

Regards,
Christina</description> 
   <pubDate>Wed, 04 May 2011 08:40:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9889#t64441</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Fix cleari</title> 
   <description>Changes have been made in Git for this ticket:

Fix clearing UID facebook pref when there is an error.
Related to Bug: 9899

  1 files changed, 2 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/36b460d7591e4ccf68e9e10eb9188733ade24783</description> 
   <pubDate>Wed, 04 May 2011 13:36:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9889#t64455</link> 
  </item> 
   
  <item> 
   <title>I fixed the undefined error, and log the exception that was </title> 
   <description>I fixed the undefined error, and log the exception that was causing that code to be reached for you. Though the original overflow issue hasn&#039;t been looked at yet. Need to find time to setup a 32bit vm to test this.</description> 
   <pubDate>Wed, 04 May 2011 13:40:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9889#t64456</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug: 9889  F</title> 
   <description>Changes have been made in Git for this ticket:

Bug: 9889  Fix integer overflow from certain facebook responses.
FB sometimes sends single numeric-like values back, in stead of json
encoded arrays. These are always converted to floats by json_decode().
Work around this by either the JSON_BIGINT_AS_STRING constant or
sniffing out the numeric type.

 1 files changed, 9 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/3bd64cd882e9a9266364f93658227930d125d1fb</description> 
   <pubDate>Wed, 15 Jun 2011 22:14:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9889#t65679</link> 
  </item> 
   
  <item> 
   <title>Finally got a chance to install a 32bit vm to test this.

</title> 
   <description>Finally got a chance to install a 32bit vm to test this.

Fixed for Horde 4.0.7</description> 
   <pubDate>Wed, 15 Jun 2011 22:18:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9889#t65680</link> 
  </item> 
   
  <item> 
   <title>I just manually added the lines to Facebook/Request.php and </title> 
   <description>I just manually added the lines to Facebook/Request.php and it looks like it is finally working!
Thanks a lot :)

Regards,
Anna Christina</description> 
   <pubDate>Thu, 16 Jun 2011 07:57:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9889#t65682</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
