Currently, when user connects his Facebook account with Drupal we use $access_token to load FB profile and then we register/login user on site.
If we want to get accesses, for example to friends list, we have to ask user about $access_token again. It means that it should be additional button or something like it.

I believe that will be really useful to add some hook invoke inside fboauth_action_connect() and send $app_id & $access_token as arguments through.

It will make issues like follow easy to fix:

Thank you.

CommentFileSizeAuthor
#1 fboauth-2116735-1.patch2.72 KBmrded
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mrded’s picture

Category: feature » task
Status: Active » Needs review
FileSize
2.72 KB

Please, take a look my patch.

mrded’s picture

Issue summary: View changes
Status: Needs review » Closed (won't fix)

Sorry, just found hook_fboauth_actions() which we can use instead.

mrded’s picture

Status: Closed (won't fix) » Closed (works as designed)