Package com.denormans.facebookgwt.api.client.ui.options

Examples of com.denormans.facebookgwt.api.client.ui.options.FriendAddOptions.toJSONString()


  @UiHandler ("friendAddButton")
  public void handleFriendAddButtonClick(final ClickEvent event) {
    FriendAddOptions friendAddOptions = FriendAddOptions.createFriendAddOptions(friendAddIDTextBox.getText());

    Log.info("Friend add options: " + friendAddOptions.toJSONString());

    FBGWT.UI.addFriend(DisplayFormats.Dialog, friendAddOptions, new AsyncCallback<FriendAddCallbackResponse>() {
      @Override
      public void onFailure(final Throwable caught) {
        handleError("Error adding friend", caught);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.