Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I've figured out how to do this on the Facebook end (http://www.facebook.com/editapps.php), but the Facebook connect tab still has a line saying "Your account is linked with your Facebook account." There seems to be a missing step -- the user information isn't being deleted from the fbconnect_users table.
Has anyone got the broad strokes of what's needed to implement this? Kind of a newbie at Drupal development (mainly hacking around code thus far) but willing to get involved if i knew where to start.
the fbconnect.module would need to implement a menu callback that receives a POST of data to it from facebook side. The menu url is set in the Facebook.com app configuration side.
Using the wiki page above, receive the POST data in and find the matching user on the drupal side and remove their facebook account details. I guess you'll need to just reverse whatever happens in the fbconnect.module when somebody first connects their account?
the fbconnect.module would need to implement a menu callback that receives a POST of data to it from facebook side. The menu url is set in the Facebook.com app configuration side.
Using the wiki page above, receive the POST data in and find the matching user on the drupal side and remove their facebook account details. I guess you'll need to just reverse whatever happens in the fbconnect.module when somebody first connects their account?
Comments
Comment #1
jesss commentedI've figured out how to do this on the Facebook end (http://www.facebook.com/editapps.php), but the Facebook connect tab still has a line saying "Your account is linked with your Facebook account." There seems to be a missing step -- the user information isn't being deleted from the fbconnect_users table.
Comment #2
buddaPost-Remove URL functionality needs implementing in the Drupal module. Details on http://wiki.developers.facebook.com/index.php/Logging_Out_And_Disconnect...
Comment #3
tsi commentedWoul'd love to see this feature working too.
Comment #4
mojo78 commentedHas anyone got the broad strokes of what's needed to implement this? Kind of a newbie at Drupal development (mainly hacking around code thus far) but willing to get involved if i knew where to start.
Comment #5
buddathe fbconnect.module would need to implement a menu callback that receives a POST of data to it from facebook side. The menu url is set in the Facebook.com app configuration side.
Using the wiki page above, receive the POST data in and find the matching user on the drupal side and remove their facebook account details. I guess you'll need to just reverse whatever happens in the fbconnect.module when somebody first connects their account?
Comment #6
buddathe fbconnect.module would need to implement a menu callback that receives a POST of data to it from facebook side. The menu url is set in the Facebook.com app configuration side.
Using the wiki page above, receive the POST data in and find the matching user on the drupal side and remove their facebook account details. I guess you'll need to just reverse whatever happens in the fbconnect.module when somebody first connects their account?
Comment #7
plan9 commentedUntil there is a function to do this in the module - is it advisable to delete unlinked users from the fbconnect database?
If so - which tables in fbconnect_users and fbconnect_profile need to be dropped?
Thanks
G
Comment #8
todddevice commentedsubscribing
Comment #9
hedac commentedthis is a must.
Comment #10
smooshy commentedsubscribe
Comment #11
matthew petty commentedme too
Comment #12
adamgerthel commentedI agree, this is very important
Comment #13
jamix commentedSubmitted a patch which provides this functionality in 5.x-1.0-beta2, needs porting to 6.x.
Comment #14
smooshy commentedsubscribing
Comment #15
smooshy commentedjamix's patch ported to 6.x here
Comment #16
vectoroc commented