Giter Club home page Giter Club logo

twitterstream's Introduction

twitterstream

GoDoc

Twitter streaming API for Go.

See twimgd.go for an example that downloads images given keywords.

License

Copyright © 2012 Daniel Huckstep. See LICENSE for details.

twitterstream's People

Contributors

darkhelmet avatar rcoelho avatar ryanlower avatar sagivo avatar waldreiter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

twitterstream's Issues

Problems with some feeds

Hi,

I'm getting a lot of "EOF" errors on some feeds, and sometimes no new tweets at all. For instance this one isn't working for me at all: 97475886 (acmc_clock_euro).

Also: sometimes empty tweets are returned.

Example code:

conn, err := client.Follow(someId)
[...]
for {
    tweet, err := conn.Next()
    if err != nil {
        fmt.Printf("%#v\n", err)
        conn.Close()
        return
    }
    fmt.Printf("Got Tweet: %#v\n", *tweet)
}

"i/o timeout" after some minutes

Hi,
after "filtering" tweets for a couple minutes I always get an i/o timeout error.
Is this normal?
I'm using go version go1.2.1 darwin/amd64

2014/05/21 18:20:31 Failed decoding tweet: read tcp 199.16.156.20:443: i/o timeout

Interface conversion error

conn.Next() sometimes returns following error:

interface conversion: interface is nil, not []interface {}: failed decoding *twitterstream.Box from "null" 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.