java - GWT: google plus Get -
i following sample code posted here gwt project: google plus sample demo
after implementing it, shows login window (if logged out). , once login, calls getme() method intended. however, code (within getme):
plus.people().get("me").to(new receiver<person>() { @override public void onsuccess(person person) { println("hello " + person.getdisplayname()); getmyactivities(); } }).fire();
does not work @ all.
i have google+ account. should technically return name. if not way fetch/get user information, there way can fetch user email, name , avatar?
Comments
Post a Comment