Wizcorp/phonegap-facebook-plugin — pull request #669 by dsolimando (2014-09-17 11:11:46+00:00)
Title: Extract permissions from session object instead of retrieving them with ...

Extract permissions from session object instead of retrieving them with a call to /me/permissions.

There are 2 problems with current implementation.

* A unnecessary call is done to /me/permissions is done in place of retrieving permissions from activeSession object
* The NSDictionary *currentPermissions does not have permission value as keys so the current implementation always fails to check permissions.