mohamedmansour / google-plus-extension-jsapi

Unofficial Google+ Read/Write Extension API
https://plus.google.com/116805285176805120365/posts/JYiVWmFbeSn
Other
175 stars 35 forks source link

Invalid session, please login to Google+ #41

Closed matzegebbe closed 6 years ago

matzegebbe commented 10 years ago

How do I have to configure/preform the login? Is an OAuth2 token enough?

// Create an instance of the API.
var plus = new GooglePlusAPI();
// Initialize the API so we could get a new session if it exists we reuse it.
plus.init();

thanks in advance