Postponed (maintainer needs more info)
Project:
Drupal for Facebook
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 May 2012 at 12:51 UTC
Updated:
29 Jul 2014 at 23:29 UTC
Jump to comment: Most recent
Comments
Comment #1
Dave Cohen commentedmodules/fb doesn't have any oauth code in it. Instead it requires facebook's php sdk which takes care of all that.
The next version of modules/fb won't require the fb php sdk. This might be relevant then.
Comment #2
vinoth.3v commentedI would be Great if we integrate and use OAuth and OAuth Connector's login modal with new version of FB 4.x. So users can have mutiple social accounts connected with single drupal user. + developers can use the power of Drupal for FB module.
Please add the 7.4.x version so we can test and tag issues for 4.x
Comment #3
Dave Cohen commentedMy goal is to not introduce any dependency on another module. However, I'd like fb.module to work properly alongside these modules when they are both enabled.
For example I know of at least one site with fboauth and Drupal for Facebook both installed (mostly for historical reasons). They are fine together as long as the settings (app id, secret) are kept in sync.
If you run into specific problems with that please submit an issue.
Comment #4
vinoth.3v commentedThats fine! :)
Comment #5
sonicthoughts commented+1 to maintain multiple social accounts connected.
Comment #5.0
sonicthoughts commentedhaj
Comment #6
giorgio79 commentedMaybe 7.4x :)
Comment #7
Dave Cohen commentedI'm not interested in adding dependencies to modules/fb. It should run fine with just drupal core plus modules/fb.
I would like modules/fb to peacefully coexist with oauth modules when they are installed. If that's not the case, please describe specifically what doesn't work.
Comment #8
sonicthoughts commentedHi- I'm looking at several other FB Drupal modules/approaches also. Dave, you say "I would like modules/fb to peacefully coexist with oauth modules when they are installed. If that's not the case, please describe specifically what doesn't work."
As I understand it, either FB module or another oauth can authenticate. If the oauth does, then won't this module also have to, or is there a way to maintain the authentication/token?
Comment #9
Dave Cohen commentedIf an oauth or third-party module invokes
fb_user_token($client_id, $token);then modules/fb will be aware and work with the token. ($client_id is the id of the facebook app.)Similarly, third-party module will be notified when modules/fb gets a token, if they implement hook_fb(). Hook_fb is like the very old hook_nodeapi() in that it takes an $op parameter. In this case the $op is FB_OP_TOKEN_USER.