RestFB Connection returns empty results
<p>I am trying to use <code>restFB</code> API to get <code>events</code> for several FB companies pages <code>since</code> <code>now</code> <code>until</code> <code>number of days</code> in the future. Somehow it returns nothing. Facebook Graph API returns the results:</p>

<p><a href="https://developers.facebook.com/tools/explorer/145634995501895/?method=GET&amp;path=AmericanChemicalSociety%2Fevents%3Fsince%3Dnow%26until%3D%2B50%20day&amp;version=v2.7" rel="nofollow noreferrer">https://developers.facebook.com/tools/explorer/145634995501895/?method=GET&amp;path=AmericanChemicalSociety%2Fevents%3Fsince%3Dnow%26until%3D%2B50%20day&amp;version=v2.7</a></p>

<p>But it is not working when I am trying to implement it in Java:</p>

<pre><code>private Map&lt;String, ArrayList&lt;JsonObject&gt;&gt; fetchEventsForPeriod(Integer daysAhead) {
    Map&lt;String, ArrayList&lt;JsonObject&gt;&gt;mapOfEvents = new HashMap&lt;String, ArrayList&lt;JsonObject&gt;&gt;();
    if (this.companiesNamesList.size() == 0) {
        getCompanies();
    }

    for (String companyName : this.companiesNamesList) {
        ArrayList&lt;JsonObject&gt;companyEventList = new ArrayList&lt;JsonObject&gt;();
        Connection&lt;JsonObject&gt; eventListConnection = this.fbClient.fetchConnection(companyName + "/events", 
                JsonObject.class, Parameter.with("since", "now"), Parameter.with("until", "+ " + daysAhead + " day"));
        while (eventListConnection.hasNext()) {
            for (List&lt;JsonObject&gt; eventConnectionPage : eventListConnection) {
                  for (JsonObject event : eventConnectionPage) {
                      event.put("univNameId", companyName);
                      String imageURL = formImageURLFromId(event.get("id").toString());
                      event.put("imageURL", imageURL);
                      companyEventList.add(event);
                  }
            }
            eventListConnection = this.fbClient.fetchConnectionPage(eventListConnection.getNextPageUrl(), JsonObject.class);
        }
        mapOfEvents.put(companyName, companyEventList);
    }
    return mapOfEvents;
} 
</code></pre>

<p>Basically giving me empty results</p>

<p><code>restFB</code> is initialized correctly and working for other simpler requests:</p>

<pre><code>private final String appAccessToken = "839761616150633|XMK9PSdojx6uCsOmoGccQC7XMTY";
private FacebookClient fbClient;

@SuppressWarnings("deprecation")
public FacebookRestFB() {
    this.companiesList = new JsonArray();
    this.companiesNamesList = new ArrayList&lt;String&gt;();

    try {
        this.fbClient = new DefaultFacebookClient(this.appAccessToken, Version.LATEST);
    } catch (FacebookException ex) {
        ex.printStackTrace(System.err);
    }
}
</code></pre>

<p><strong>Update #1</strong></p>

<p>The issue is not yet solved. Any suggestion would be greatly appreciated</p>