Search Gear #3 – Go,, anaconda, twitter, TDD Cases!

Search Gear Notes

Search Gear Notes

Go,, anaconda, twitter, TDD Cases comes through with free repos for academics

$GOPATH Lost – treatise at
~/.bash_profile updated to contain export GOPATH=/Volumes/WorkingBox/Development/go and export PATH=$GOPATH/bin:$PATH

Seems anaconda is the twitter api I want as it works with functions.

  1. go get -v
  2. Full Doc :
  3. tweet structure
  4. anaconda.SetConsumerKey(“your-consumer-key”)
    api := anaconda.NewTwitterApi(“your-access-token”, “your-access-token-secret”)


  1. go run searchgear.go
  2. Error: {"errors":[{"message":"Invalid or expired token","code":89}]}
  4. Swap key sets – consumer is the user and your access token is for the application.

search_result, err := api.GetSearch("golang", nil)
if err != nil {
for _, tweet := range search_result {
fmt.Printf("%v - @%v: %v\n", tweet.CreatedAt, tweet.User.ScreenName, tweet.Text)

Thu Aug 07 10:13:39 +0000 2014 - @TvorZasp: Обзор интересного редактора EDI, написанного на #golang |

  1. @twitterapi are there any TDD cases for testing developers twitter code #golang
  2. No replies
  3. #gloang – any experiences with i18n packages – I’ve only found
  4. No replies
  5. No other suggestions go get -v

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s