np ;)
-cj.

On Tue, Oct 12, 2010 at 12:22 PM, Bartek <bart.ci...@gmail.com> wrote:
> Thanks a bunch!
>
> On Oct 12, 5:39 am, Ciaran <ciar...@gmail.com> wrote:
>> On Tue, Oct 12, 2010 at 3:16 AM, Bartek <bart.ci...@gmail.com> wrote:
>> > Hi there,
>>
>> > I'm new to the Twitter API so forgive me if I'm missing something
>> > blatant.
>>
>> > I just wrote a small node.js script that connects to Twitter and
>> > fetches the specified timeline. The library I am using for OAuth is:
>> >http://github.com/ciaranj/node-oauth
>>
>> > If I specify a timeline outside of the Streaming API I get a full
>> > result - Works great!
>>
>> > However, if I specify one in the Streaming API, e.g.:
>>
>> > oa.getProtectedResource("http://stream.twitter.com/1/statuses/
>> > sample.json", "GET", oauth_access_token, oauth_access_token_secret,
>> > function(error, data
>> >    , response)  { ... }
>>
>> > I simply get a "Timed out" error. If I access that same page directly
>> > it works fine. Tried a few times and checked the Status of Twitter,
>> > but no luck.
>>
>> > Any advice as to what I am doing wrong?
>>
>> Hiyah, this 
>> page:http://github.com/ciaranj/node-oauth/wiki/Interacting-with-Twitter
>> should explain your issue.  You're using the non-streaming
>> method/approach to access a streaming resource :)
>>
>> Cheers.
>> -cj
>
> --
> 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

Reply via email to