| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 24 Dec 2025 01:52:55 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090827041348
location: https://web.archive.org/web/20090827041348/https://github.com/squeejee/twitterland/tree
server-timing: captures_list;dur=0.853987, exclusion.robots;dur=0.065860, exclusion.robots.policy;dur=0.051703, esindex;dur=0.012559, cdx.remote;dur=38.108933, LoadShardBlock;dur=177.676460, PetaboxLoader3.datanode;dur=71.255925, PetaboxLoader3.resolve;dur=50.748846
x-app-server: wwwb-app218-dc8
x-ts: 302
x-tr: 251
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app218; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 301
server: nginx
date: Wed, 24 Dec 2025 01:52:57 GMT
content-type: text/html; charset=utf-8
content-length: 116
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Thu, 27 Aug 2009 04:13:48 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090827041348/https://github.com/squeejee/twitterland/tree/master
x-archive-orig-x-runtime: 20ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 116
cache-control: max-age=1800
memento-datetime: Thu, 27 Aug 2009 04:13:48 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_11_20090827025743_crawl100.gpg-c/52_11_20090827041245_crawl101.arc.gz
server-timing: captures_list;dur=0.610730, exclusion.robots;dur=0.019124, exclusion.robots.policy;dur=0.008397, esindex;dur=0.011658, cdx.remote;dur=6.470722, LoadShardBlock;dur=1339.219868, PetaboxLoader3.datanode;dur=665.153255, PetaboxLoader3.resolve;dur=1091.361864, load_resource;dur=506.927273
x-app-server: wwwb-app218-dc8
x-ts: 301
x-tr: 1878
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 24 Dec 2025 01:52:58 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Thu, 27 Aug 2009 04:13:48 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 207ms
x-archive-orig-etag: "e172e6555015ad2064260a367cacdd7b"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 31780
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 27 Aug 2009 04:13:48 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_11_20090827025743_crawl100.gpg-c/52_11_20090827041245_crawl101.arc.gz
server-timing: captures_list;dur=0.515316, exclusion.robots;dur=0.015844, exclusion.robots.policy;dur=0.007070, esindex;dur=0.010591, cdx.remote;dur=5.667620, LoadShardBlock;dur=48.835488, PetaboxLoader3.datanode;dur=120.593078, load_resource;dur=77.530469
x-app-server: wwwb-app218-dc8
x-ts: 200
x-tr: 187
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
squeejee's twitterland at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Run the following if you haven't already:
gem sources -a https://gems.github.com
Install the gem(s):
sudo gem install squeejee-twitterland
| Description: | Ruby wrapper for various Twitter-related APIs edit |
| Homepage: | https://locomotivation.squeejee.com/post/158183764/twitterland-all-the-best-twitter-related-apis-in-one-gem edit |
| Public Clone URL: |
git://github.com/squeejee/twitterland.git
Give this clone URL to anyone.
git clone git://github.com/squeejee/twitterland.git
|
| Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:squeejee/twitterland.git
|
| name | age | message | |
|---|---|---|---|
| |
.autotest | Loading commit data... |
|
| |
.gitignore | Fri Aug 07 14:02:18 -0700 2009 | initial commit [Turn2Live] |
| |
History | Tue Aug 11 14:54:32 -0700 2009 | updated history [pengwynn] |
| |
License | Fri Aug 07 14:02:18 -0700 2009 | initial commit [Turn2Live] |
| |
README.markdown | Wed Aug 12 18:40:05 -0700 2009 | Fixed caching bug in TweetBlocker [pengwynn] |
| |
Rakefile | Wed Aug 12 10:58:24 -0700 2009 | Added BackTweets [pengwynn] |
| |
VERSION.yml | Wed Aug 12 18:40:27 -0700 2009 | Version bump to 0.2.1 [pengwynn] |
| |
lib/ | Wed Aug 12 18:40:05 -0700 2009 | Fixed caching bug in TweetBlocker [pengwynn] |
| |
test/ | Wed Aug 12 10:58:24 -0700 2009 | Added BackTweets [pengwynn] |
| |
twitterland.gemspec | Wed Aug 12 18:40:51 -0700 2009 | Bumped version to 0.2.1 [pengwynn] |
README.markdown
twitterland
Twitterland is a Ruby gem that bundles various Twitter-related APIs
Including:
- Follow Cost
- Twitter Grader
- Mr. Tweet
- Twinfluence
- Twitter Counter
- TweetBlocker
Install
sudo gem install twitterland
Follow Cost Usage
# Get follow cost for specified user
Twitterland::FollowCost.show('bradleyjoyce')
=> <Mash at_reply_index=24.0 average_tweets_per_day=6.87254901960784 average_tweets_per_day_recently=19.6396220282001 golden_index=3.0 milliscobles_all_time=324.02 milliscobles_recently=925.96 political_index=1.0 profile_image_url="https://s3.amazonaws.com/twitter_production/profile_images/179927752/bradley_normal.png" statuses_count=3505 twitter_created_at="2008/03/14 18:26:52 -0700" username="bradleyjoyce">
Twitter Grader Usage
# request your api key at [https://twitter.grader.com/accessrequestform](https://twitter.grader.com/accessrequestform)
# get twitter grade for user
api_key = "OU812"
Twitterland::TwitterGrader.grade('bradleyjoyce', api_key)
=> 98.4183
Mr.Tweet Usage
get your api key at https://api.mrtweet.com/newapi
Initialize Mrtweet
api_key = 'OU812'
mt = Twitterland::Mrtweet.new(api_key,'bradleyjoyce')
Is user
# Check whether the given user is a MrTweet user.
mt.is_user
=> true
Profile
# Returns MrTweet statistics of the given user
mt.profile
=> <Mash conversation=0.225 conversation_percentile=53 frequency=8.98621 frequency_percentile=90 links=0.53 links_percentile=87 recommendations=1>
mt.profile.links
=> 0.53
Recommendations
# Returns the latest recommendations the given user received on MrTweet
mt.recommendations
=> [<Mash date=Thu Aug 06 01:02:54 -0500 2009 name="billtrammel" text="he is an entrepreneur, and one of the developers of TweetCongress.org, award-winning site promoting government transparency. Plus, he's a good friend.">]
mt.recommendations.first.name
=> "billtrammel"
Most attention towards
# Returns the twitter_id's of 3 users that for the given user pays the most attention to
mt.most_attenion_towards
=> [15049040, 17993906, 22286046]
Recommend
# Creates a recommendation from the given user, to another user (aka "friend_name")
reason = "Wynn is an awesome entrepreneur, rubyist, designer and friend! Follow him for his useful and entertaining tweets!"
friend_name = "pengwynn"
mt.recommend(reason,friend_name)
=> true
Twinfluence
Initialize Twinfluence
username = 'bradleyjoyce'
password = 'mypassword'
t = Twitterland::Twinfluence.new(username,password)
=> #<Twitterland::Twinfluence:0x317ecf8 @username="bradleyjoyce", @password="mypassword">
User
# gets twinfluence data for user
t.user('bradleyjoyce')
t.user('bradleyjoyce')
=> <Mash user=<Mash adrider=<Mash script=[<Mash type="text/javascript">, <Mash src="https://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">]> centralization="24.224443556856" centralization_grade="0.0 Average - Resilient" description="Entrepreneur and Web Developer -- Floxee.com, TweetCongress.org, Sherflock.com, Squeejee.com" followers_count="1315" friends_count="1278" id="14688076" location=nil name="Bradley Joyce" screen_name="bradleyjoyce" second_order="7936664" second_order_grade="Rank: <b>#10,185</b> (93%)" social_capital="6035.4859315589" social_capital_grade="+1.4 High" statuses_count="3511" unix_timestamp="1249683954" url="https://bradleyjoyce.me" velocity="15535.453112211" velocity_grade="+0.1 Fast Average">>
Twitter Counter
Show
tc = Twitterland::TwitterCounter.show('bradleyjoyce')
tc.rank
=> 37194
# available methods
tomorrow_2w
followers_2w_ago
followers_yesterday
followers_current
friends_current
next_month
growth_since_2w
started_followers
rank
user_id
growth_since
follow_days
tomorrow
next_month_2w
average_growth
average_growth_2w
TweetBlocker
User
# get grade for user
result = Twitterland::TweetBlocker.user('bradleyjoyce')
=> <Mash grade="a" score=100 url="https://twitter.com/bradleyjoyce" username="Bradley Joyce">
Spam
# report a user as spammer
Twitterland::TweetBlocker.report_spam('spamtest')
Rate Limit Status
# check your rate limit status
Twitterland::TweetBlocker.rate_limit
=> <Mash hourly_limit=100 remaining_hits=100 reset_time="2009-08-11 23:12:41 UTC" reset_time_in_seconds=2746>
BackTweets
Get your api_key at https://www.backtype.com/developers
Search
# Return tweet referencing a URL
results = Twitterland::BackTweets.search('https://squeejee.com', 'OU812')
results.tweets.size
=> 25
results.tweets.first.from_user
=> "euromarianne"
results.items_per_page
=> 25
results.total_results
=> 3301
Source
https://github.com/squeejee/twitterland/
Documentation
https://rdoc.info/projects/squeejee/twitterland
Copyright
Copyright (c) 2009 Squeejee. See LICENSE for details.
This feature is coming soon. Sit tight!












