mohamedmansour/google-plus-extension-jsapi — pull request #36 by tzafrir (2012-06-24 19:40:13+00:00)
Title: A simplistic way of handling pages

Hey Mo, I'd like to have your input on this before committing.

I added the page id to the constructor's opt parameter, modified the database to be named according to the active identity, and added a factory method that constructs apis for all the user's identities.

This way with very few changes to the api code, it's possible to be able to use all of the user's identities, by calling the appropriate api object, and each instance has its own db for circles and memberships.