Comments (3)
Probably something like:
func main() {
api := anaconda.NewTwitterApiWithCredentials(
access_token,
access_token_secret,
consumer_key,
consumer_secret,
)
v := url.Values{}
s := api.PublicStreamFilter(v)
v.Add("follow", "15209123") // 15209123 = @dijit
log.Info(v.Encode())
for t := range s.C {
switch v := t.(type) {
case anaconda.Tweet:
logrus.Infof("%-15s: %s\n", v.User.ScreenName, v.Text)
}
}
}
from anaconda.
Sorry, but I think the public streams have been shut down by Twitter.
from anaconda.
Sorry, but I think the public streams have been shut down by Twitter.
I tested it a few days ago, it works, but NOT stable. The result output stream could be shut down any time.
from anaconda.
Related Issues (20)
- GetTweetsLookupByIds fails when passing the map parameter
- GetListsOwnedBy cursor implementation
- Get all members for a given list HOT 2
- Improve documentation
- Panic when trying to get an AuthorizationURL HOT 1
- App Engine Deploy can't find import: "github.com/dustin/gojson" HOT 3
- wo get x509: certificate error
- I can't solve the error: invalid or expired token HOT 2
- How to filter stream based on language and a slice fo strings? HOT 1
- EnableThrottling for GetFollowersIdsAll HOT 1
- Account Activity API support HOT 2
- Update to newer oauth library
- New DM API HOT 2
- authorization URL
- The field `reply_count` is not included in `anaconda.Tweet`.
- App-only auth HOT 1
- geo HOT 1
- I want to detect that a twitter user is tweeting. HOT 1
- POST friendships/update (/1.1/friendships/update.json)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anaconda.