I used restfb to check extended permissions of user. I click allow permission dialog will not pop it up again next time. However I clicking "Don't Allow" on the permission dialogue box will bring it back up every time when this page is accessed. I don't want. I want when Clicking "Don't Allow" will stop the dialog forever. please suggest me a way
Here is my code:
Java source:
public boolean getCheckExtPerm() throws FacebookJsonMappingException, FacebookException {
    Integer emailPerm = getFbClient().execute("users.hasAppPermission", getFbSigSessionKey(),
            Integer.class,Parameter.with("ext_perm", "email"));
    return emailPerm == null ? false : emailPerm.equals(new Integer(1));
  }
View source:
 <script type="text/javascript">
      var checkExtPerm = <s:property value="checkExtPerm" />;
      if (checkExtPerm == false) {
        Facebook.showPermissionDialog('email', function (perms) {
          //if (perms == "email" ) {}
        });
      }
  </script>