FB friends not updating
authorFriendika <info@friendika.com>
Thu, 20 Oct 2011 05:13:26 +0000 (22:13 -0700)
committerFriendika <info@friendika.com>
Thu, 20 Oct 2011 05:13:26 +0000 (22:13 -0700)
facebook/facebook.php

index 22cefc0..f1c7f85 100644 (file)
@@ -145,7 +145,7 @@ function fb_get_self($uid) {
 
 function fb_get_friends($uid) {
 
-       $r = q("SELECT `id` FROM `user` WHERE `uid` = %d AND `account_expired` = 0 LIMIT 1",
+       $r = q("SELECT `uid` FROM `user` WHERE `uid` = %d AND `account_expired` = 0 LIMIT 1",
                intval($uid)
        );
        if(! count($r))