Code example for FacebookError

Methods: getMessage

0
		try { 
			return Util.parseJson(response);
		} catch (FacebookError error) {
			// TODO: Handle FacebookError more properly.. Try to catch 
			// unauthorized especially. 
			throw new IOException(error.getMessage());
		} 
	} 
 
	/** 
	 * Executes a FQL query at 
	 * https://api.facebook.com/method/fql.query?access_token=TOKEN&query=QUERY 
	 *  
	 * @param query 
	 *            FQL query string. 
	 * @return JSON presentation for response. 
	 * @throws IOException 
	 * @throws JSONException 
	 * @throws MalformedURLException 
	 * @throws XmlPullParserException