Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Exception while using count parameter of streaming api Expand / Collapse
Author
Message
Posted Tuesday, November 2, 2010 10:35 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, November 9, 2010 11:54 AM
Points: 1, Visits: 5
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:
inputConfig.Parameters = "track=" + FilterParametersTbx.Text + "&count=10";
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?

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:


If anyone has any idea about this, please help me out.
Post #1014665
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse