Package com.gwtmobile.phonegap.client.plugins.Facebook

Examples of com.gwtmobile.phonegap.client.plugins.Facebook.Session


      return;
    }
    Facebook.getLoginStatus(new Callback() {
      @Override
      public void onSuccess(Response response) {
        Session session = response.getSession();
        if (session == null) {
          text.setHTML("Need to login to Facebook first.");
          return;
        }
        String path = session.getUserID() + "/feed";
        Params params = Params.createParams();
        final String message = "I am checking out the GWT Mobile PhoneGap app!";
        params.set("message", message);
        Facebook.api(path, "post", params, new Callback() {
          @Override
View Full Code Here

TOP

Related Classes of com.gwtmobile.phonegap.client.plugins.Facebook.Session

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.