[twitter-dev] Re: Help Getting Started with Site Streams

2011-01-10 Thread Temo
actual code would be most helpful.

On Nov 25 2010, 12:05 am, Nancy Neira n143dra...@hotmail.com wrote:
 Jay

 You looking for code patch or the actual code to do streaming?
 Nancy







  Date: Wed, 24 Nov 2010 23:53:21 -0500
  Subject: [twitter-dev] Help Getting Started with Site Streams
  From: jay...@gmail.com
  To: twitter-development-talk@googlegroups.com

  I am trying to get started with the Site Streams. However, I am having
  a hard time finding the documentation for getting the stream started.
  Anyone know where I can find this info or able to provide it?
  I think I just need to know the names of the params, I can probably
  figure out the rest. Thanks

  --
  Twitter developer documentation and resources:http://dev.twitter.com/doc
  API updates via Twitter:http://twitter.com/twitterapi
  Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list
  Change your membership to this 
  group:http://groups.google.com/group/twitter-development-talk

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] api_endpoint for site streams?

2010-12-22 Thread Temo
What are the signing_endpoint, and api_endpoint for sitestreams?
I'm assuming they're both - http://betastream.twitter.com

but get OAuth::Unauthorized: 401 Unauthorized
when I try to obtain a request token.

My app has  been whitelisted for the Site Streams Whitelist Beta


any help would be appreciated.

Best, Temo.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] unable to resolve betastream.twitter.com

2010-12-20 Thread Temo
I'm using ruby event machine to connect to sitestreams - and am unable
to even connect to the betastream server - any help would be
appreciated.

connecting to http://betastream.twitter.com:80 with {:path=/2b/
site.json, :proxy=nil, :content=follow=1,2,3,4,5, :timeout=0, 
:method=GET, :content_type=application/
x-www-form-urlencoded, :host=http://
betastream.twitter.com, :port=80, :ssl=false, :auth=login:password, 
:user_agent=TwitterStream}
EventMachine::ConnectionError: unable to resolve server address
from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/
lib/eventmachine.rb:714:in `connect_server'
from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/
lib/eventmachine.rb:714:in `bind_connect'
from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/
lib/eventmachine.rb:692:in `connect'
from /opt/local/lib/ruby/gems/1.8/gems/twitter-stream-0.1.6/
lib/twitter/json_stream.rb:56:in `connect'
from /Users/temo/devl/solr.trunk/app/smartr/lib/sitestream.rb:
5
from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/
lib/eventmachine.rb:256:in `call'
from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/
lib/eventmachine.rb:256:in `run_machine'
from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/
lib/eventmachine.rb:256:in `run'
from /Users/temo/devl/solr.trunk/app/smartr/lib/sitestream.rb:
4
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:142:in
`load_without_new_constant_marking'
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:142:in `load'
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:521:in `new_constants_in'
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:142:in `load'
from (irb):13

best, Temo

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: unable to resolve betastream.twitter.com

2010-12-20 Thread Temo
Seems like the DNS resolution is ok.

t...@16:20:04:~nslookup betastream.twitter.com
Server: 192.168.1.1
Address:192.168.1.1#53

Non-authoritative answer:
Name:   betastream.twitter.com
Address: 128.242.250.199




On Dec 20, 4:16 pm, Tom van der Woerdt i...@tvdw.eu wrote:
 You should take a look at your server's DNS settings.

 Open a terminal session and enter `nslookup betastream.twitter.com`. It
 should return something like this :

  tom-mbp:~ tom$ nslookup betastream.twitter.com
  Server:            10.0.0.138
  Address:   10.0.0.138#53

  Non-authoritative answer:
  Name:      betastream.twitter.com
  Address: 128.242.250.199

 Tom

 On 12/20/10 10:12 PM, Temo wrote:







  I'm using ruby event machine to connect to sitestreams - and am unable
  to even connect to the betastream server - any help would be
  appreciated.

  connecting tohttp://betastream.twitter.com:80with {:path=/2b/
  site.json, :proxy=nil, :content=follow=1,2,3,4,5, :timeout=0, 
  :method=GET, :content_type=application/
  x-www-form-urlencoded, :host=http://
  betastream.twitter.com, :port=80, :ssl=false, :auth=login:password, 
  :user_agent=TwitterStream}
  EventMachine::ConnectionError: unable to resolve server address
           from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/
  lib/eventmachine.rb:714:in `connect_server'
           from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/
  lib/eventmachine.rb:714:in `bind_connect'
           from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/
  lib/eventmachine.rb:692:in `connect'
           from /opt/local/lib/ruby/gems/1.8/gems/twitter-stream-0.1.6/
  lib/twitter/json_stream.rb:56:in `connect'
           from /Users/temo/devl/solr.trunk/app/smartr/lib/sitestream.rb:
  5
           from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/
  lib/eventmachine.rb:256:in `call'
           from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/
  lib/eventmachine.rb:256:in `run_machine'
           from /opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/
  lib/eventmachine.rb:256:in `run'
           from /Users/temo/devl/solr.trunk/app/smartr/lib/sitestream.rb:
  4
           from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
  active_support/dependencies.rb:142:in
  `load_without_new_constant_marking'
           from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
  active_support/dependencies.rb:142:in `load'
           from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
  active_support/dependencies.rb:521:in `new_constants_in'
           from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
  active_support/dependencies.rb:142:in `load'
           from (irb):13

  best, Temo

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk