﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Johan Åhlén  / Exception while using count parameter of streaming api / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Mon, 17 Jun 2013 23:15:17 GMT</lastBuildDate><ttl>20</ttl><item><title>Exception while using count parameter of streaming api</title><link>http://www.sqlservercentral.com/Forums/Topic1014665-1679-1.aspx</link><description>First of all, kudos to J Ahlen for the awesome twitter input adapter!!I am doing a project on twitter sentiment analysis, and I was trying to pull previous statuses using the "count" parameter. Here is the code:[i]inputConfig.Parameters = "track=" + FilterParametersTbx.Text + "&amp;count=10";[/i]I was granted the shadow access level by twitter yesterday, which means I can use the "count" parameter. Why do I still get the following exception?[i]System.Net.WebException was unhandled by user code  Message=The remote server returned an error: (416) Requested Range Not Satisfiable.  Source=System  StackTrace:       at System.Net.HttpWebRequest.GetResponse()       at AdvantIQ.ExampleAdapters.Input.Twitter.TwitterInput.ProduceEvents() in C:\Stream Insight Example\JAhlen - username\ExampleAdapters\Input\Twitter\TwitterInput.cs:line 68       at AdvantIQ.ExampleAdapters.Input.Twitter.TwitterInput.Start() in C:\Stream Insight Example\JAhlen - username\ExampleAdapters\Input\Twitter\TwitterInput.cs:line 45       at Filter.InvokeWithFilter(Action , Func`2 , Action`1 )       at Microsoft.ComplexEventProcessing.Diagnostics.Exceptions.ExecuteWithFilter(Action body, Func`2 filter, Action`1 handler)       at Microsoft.ComplexEventProcessing.Adapters.Adapter.ThreadProcStart(Object thisPtr)  InnerException:  [/i]If anyone has any idea about this, please help me out.</description><pubDate>Tue, 02 Nov 2010 10:35:54 GMT</pubDate><dc:creator>revati 43201</dc:creator></item></channel></rss>