forked from sferik/twitter-ruby
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed identi.ca losing path. Added identi.ca example in examples fold…
…er. Updated gemspec.
- Loading branch information
1 parent
32bc7df
commit f12ca99
Showing
4 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
require 'rubygems' | ||
require File.join(File.dirname(__FILE__), '..', 'lib', 'twitter') | ||
config = YAML::load(open(ENV['HOME'] + '/.twitter')) | ||
|
||
identica = Twitter::Base.new(config['email'], config['password'], :api_host => 'identi.ca/api') | ||
|
||
identica.timeline(:public).each { |s| puts s.text, s.user.name, '' } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters