Note that there are some explanatory texts on larger screens.

plurals
  1. POGetting 'unsupported method, fql.multiquery' when fetching data from Facebook
    primarykey
    data
    text
    <p>I'm trying to fetch data in my Android-App from Facebook via FQL multiquery like discribed here: <a href="http://www.kanatorn.info/2011/12/31/fql-multiple-query-android-sdk-example/" rel="nofollow">http://www.kanatorn.info/2011/12/31/fql-multiple-query-android-sdk-example/</a></p> <p>here's my code:</p> <pre><code> Bundle params = new Bundle(); JSONObject multiquery = new JSONObject(); try { multiquery.put("query1", "SELECT eid, name, start_time, is_date_only, pic_square, pic_big, location FROM event WHERE eid IN" + "(SELECT eid FROM event_member WHERE uid=me() AND start_time &gt;= now()) ORDER BY start_time"); multiquery.put("query2", "SELECT eid, rsvp_status, start_time FROM event_member WHERE uid=me() AND start_time &gt;= now() ORDER BY start_time"); } catch (JSONException e) { // TODO Auto-generated catch block e.printStackTrace(); } params.putString("method", "fql.multiquery"); params.putString("queries", multiquery.toString()); Session session = Session.getActiveSession(); Request request = new Request(session, "/fql", params, HttpMethod.GET, new Request.Callback(){ public void onCompleted(Response response) { ... } }); Request.executeAndWait(request); </code></pre> <p>the result I'm getting is the following:</p> <pre><code>{Response: responseCode: 500, graphObject: null, error: {HttpStatus: 500, errorCode: -1, errorType: Exception, errorMessage: Unsupported method, fql.multiquery}, isFromCache:false} </code></pre> <p>I can't figure out where my mistake is. It says <code>unsupported method, multiquery</code>, but this actually should be a valid method, right? I looked everywhere for a similiar problem but it seems that I'm alone with that issue. I have the feeling that I'm missing something simple... Would be cool if someone can help me out. Thanks!</p> <p>btw. with normal queries everything works fine.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload