Project

twinkit

0.0
No commit activity in last 3 years
No release in over 3 years
parses all links and titles of the links from any twitter user
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 2.0
 Project Readme

Twinkit

Parses all links and titles of the links from any twitter username.

How to install

$gem install twinkit

How to use

Twinkit.get_links("twitter_username")

Example

t = Twinkit.get_links("loveallogy")  #=>  [#<struct Twinkit::Twink url="http://t.co/m7AAXlVT", title="A Serving of Gratitude Brings Healthy Dividends - NYTimes.com", redir_url="http://www.nytimes.com/2011/11/22/science/a-serving-of-gratitude-brings-healthy-dividends.html">, #<struct Twinkit::Twink url="http://t.co/9z8Il0oI", title="YaleNews | Tuning out: How brains benefit from meditation", redir_url="http://news.yale.edu/2011/11/21/tuning-out-how-brains-benefit-meditation">]
t[0].title     #=> "A Serving of Gratitude Brings Healthy Dividends - NYTimes.com"
t[0].redir_url #=> "http://www.nytimes.com/2011/11/22/science/a-serving-of-gratitude-brings-healthy-dividends.html"