ChatterService.ChatterRestService.GetNextPage C# (CSharp) Method

GetNextPage() public method

public GetNextPage ( ChatterResponse resp ) : ChatterResponse
resp ChatterResponse
return ChatterResponse
        public ChatterResponse GetNextPage(ChatterResponse resp)
        {
            if (resp.nextPageUrl != null)
            {
                String call = resp.nextPageUrl.Substring(resp.nextPageUrl.IndexOf("/chatter/") + 9);
                return MakeRestCall(call, Method.GET, null);
            }
            return null;
        }