Skip to content

Commit

Permalink
API のホストを api.twitter.com に
Browse files Browse the repository at this point in the history
  • Loading branch information
kga committed Sep 12, 2010
1 parent 3b3613d commit ec974f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tig.rb
Expand Up @@ -276,7 +276,7 @@ def main_channel
end

def api_base(secure = true)
URI("http#{"s" if secure}://twitter.com/")
URI("http#{"s" if secure}://api.twitter.com/")
end

def api_source
Expand Down Expand Up @@ -341,7 +341,7 @@ def on_user(m)
@consumer = OAuth::Consumer.new(
CONSUMER_KEY,
CONSUMER_SECRET,
:site => 'https://twitter.com'
:site => 'https://api.twitter.com'
)

begin
Expand Down

1 comment on commit ec974f6

@cho45
Copy link
Owner

@cho45 cho45 commented on ec974f6 Sep 18, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.