Closed (fixed)
Project:
Facebook OAuth Extras
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Apr 2012 at 21:31 UTC
Updated:
13 Aug 2012 at 02:41 UTC
I've found that in most cases friends are being imported for uid = 0, so the facebook-connected user doesn't get to see his friends.
It's probably caused because by the time the import trigger runs on the first connect the user has not been logged on - id est the $user is the anonymous user's one.
Attached patch fixes the issue (note that I made the picture import a no-op - the fboauth module already provides this functionality (not on subsequent logins?)
| Comment | File | Size | Author |
|---|---|---|---|
| friends_import.txt | 3.7 KB | dirkgomez |
Comments
Comment #1
grasmash commentedThanks for the tip! This has been fixed.