executeCallback(callback, Double.valueOf(result));
}
protected void executeCallbackError(final AsyncCallback callback, final int errorCode, final String errorMessage) {
FBAPIException fbapiException = new FBAPIException(errorMessage, errorCode);
fbapiException.fillInStackTrace();
callback.onFailure(fbapiException);
}
private JSFunction subscribeToEvent(final FBEventType eventType) {
Log.fine("Subscribing to event: " + eventType + " (" + eventType.getApiValue() + ")");