vanillaforums/Garden — pull request #1393 by Smerity (2012-07-10 08:42:51+00:00)
Title: Extend Facebook plugin to store access token & allow different scopes

This patch extends the Facebook plugin to:

+ Store the Facebook token as a user attribute (useful for if the user logs in via user/pass or if a plugin wants to access the Facebook API whilst the user is offline)
+ Allow configuration of the Facebook scopes requested via config.php

All these changes are backwards compatible, have been tested and will allow for improved Facebook interaction for both Vanilla Forums and Vanilla Forum plugins. Both these changes are necessary if any new Vanilla Forum plugins want to take advantage of Facebook fully.