Skip to content

DEPRECATED! Twitter public (anonymous) client for old v1.0 API just to retrieve the last N user statuses.

License

Notifications You must be signed in to change notification settings

elgalu/twitter_anonymous_client

Repository files navigation

TwitterAnonymousClient

Gem Version Build Status Dependency Status Code Climate Coverage Status

DEPRECATED

Twitter API v1 has been officially retired so don't use this proof-of-concept gem anymore.

Description

Twitter public (anonymous) client for old v1.0 API just to retrieve the last N user statuses.

Installation

$ gem install twitter_anonymous_client or add to your Gemfile this line: gem 'twitter_anonymous_client' then run bundle install

Usage

require 'twitter_anonymous_client'

# Many tweets
tweets = Twitter::Client.new.user_timeline('elgalu', count: 2)
elgalu = tweets.first #=>  #<Twitter::Tweet:0x00.. @id="3076....>
elgalu.text #=> "Console Ruby debug is easy - Leo Gallucci's blog http://t.co/JUpUdyf5ts"

# Just the last tweet
last = Twitter::Client.new.last_tweet('elgalu')
last.status_url #=> "https://twitter.com/elgalu/status/307606752055148545"

Contributing

  1. Fork it.
  2. Make your feature addition or bug fix and create your feature branch.
  3. Update the Change Log.
  4. Add specs/tests for it. This is important so I don't break it in a future version unintentionally.
  5. Commit, create a new Pull Request.
  6. Check that your pull request passes the build.

License

Released under the MIT License. See the LICENSE file for further details.

Links

RubyGems | Documentation | Source | Bugtracker | Build Status | Dependency Status | Code Climate

About

DEPRECATED! Twitter public (anonymous) client for old v1.0 API just to retrieve the last N user statuses.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages