code: public static byte[] getImageForPost(Activity context, Bitmap image, CompressFormat format) throws IOException {
  		return proxy.getImageForPost(context, image, format);
  	}
docs: Returns image data suitable for posting to facebook.
  @param context The current context.
  @param image The image to be compressed.
  @param format The compression format to use (one of JPEG or PNG).
  @return A byte array containing the bytes to be posted.
  @throws IOException