private static void sendLikeUpdate(String imageId, Out<JsonNode> out) {

    ObjectNode msg = Json.newObject();
    msg.put("kind", "likeUpdate");
    msg.put("imageId", imageId);

    out.write(msg);
  } // sendLikeUpdate
  private static void sendImage(MImages mImages, Out<JsonNode> out, String msgType) {
    if (mImages != null) {
      Logger.info("		image id: " + mImages.idInstagram + " autor's name: " + mImages.authorName);
      ObjectNode msg = Json.newObject();
      msg.put("kind", msgType);
      msg.put("id", mImages.idInstagram);
      msg.put("stdImageUrl", mImages.url);
      msg.put("createdTime", mImages.timeCreated);
      msg.put("authorFullName", mImages.authorName);
      msg.put("authorPic", mImages.authorPic);
      msg.put("nLikes", mImages.numberOfLikesIns + mImages.numberOfLikesLocall);
      // msg.put("uLikes", feed.getLikes().getLikesUserList().toString());
      // msg.put("nComments", feed.getComments().getCount());
      // msg.put("uComments", feed.getComments().getComments().toString());

      out.write(msg);
    } // if
  } // sendImage