I am using the "FBOAuth Module" and I am having a conflict with the permissions integration. With only the FBOAuth I can capture a users email address and other advanced permissions but once I enable this module I can no longer capture a users email address. Has anyone else encountered this problem?

CommentFileSizeAuthor
#5 facebook_rules-email_import-1536358.patch541 bytesfotuzlab

Comments

quicksketch’s picture

Title: Module conflicts with FBOAUTH » Facebook Rules prevents FBOAuth from capturing e-mail address

For more information see #1527848: Unable to capture users email address, which I've marked duplicate in the FBOAuth queue.

damonatodd’s picture

I have been trying to use your Facebook Rules Module and I've noticed a conflict between it and the FBOAuth Module. With the Facebook Rules Module enabled I am unable to capture a users email address. What would it take to get this feature to work as with this current version module it's not possible to access advance permission fields and have them imported into a users profile.

fotuzlab’s picture

I checked and verified the bug. Thanx for reporting. I would look into it asap.

fotuzlab’s picture

It was a permission issue.
@damonatodd: Thanx again for identifying the issue. I have committed the patch to dev branch. Once someone confirms the resolution of the bug using the attached patch, I'll create a stable release.

fotuzlab’s picture

StatusFileSize
new541 bytes

Forgot to attach the patch

Louis Bob’s picture

Hi,

Patch resolved the issue for me: email is correctly imported now.

Thanks a lot!

fotuzlab’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ajmartin’s picture

Any news on a stable release addressing this issue?

markusa’s picture

+1 This patch fixed the problem for me!

kid_icarus’s picture

Status: Closed (fixed) » Reviewed & tested by the community

I'm moving this back to RTBC since it isn't in a stable release yet. This is the third confirmation of the patch fixing the issue.

If you need help creating stable releases I'd be more than happy to help.

stopbox’s picture

The patch fixed the issue with getting the email address but i am know getting this error:

Strict warning: Only variables should be passed by reference in facebook_rules_fboauth_action_connect() (line 198 of /xxx/xxx/sites/all/modules/facebook_rules/facebook_rules.module).

The line 198 is:

// If the Facebook e-mail address matches an existing account, bind them
// together and log in as that account.
  elseif (!empty($fbuser->email) && ($account = array_shift(user_load_multiple(array(), array('mail' => $fbuser->email))))) {
    fboauth_save($account->uid, $fbuser->id);
durum’s picture

Patch works fine with me. Email imported, extended permissions granted.

And thanks for the great module.

chegor’s picture

The same error as in #12. Did you fixed this?

Andre-B’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Fixed

this is fixed in dev

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.