* @throws ClientProtocolException
* @throws JSONException
*/
public Stream getStream(long viewerId, JSONArray srcIds, long startTime, long endTime, int limit, String filterKey,
JSONArray metadata) throws ClientProtocolException, URISyntaxException, IOException, JSONException {
Stream stream = new Stream();
Map<String, String> listOfMethods = getBasicParams();
if (viewerId >= 0) {
listOfMethods.put("viewer_id", "" + viewerId);
}