diff --git a/lib/community_hub_plugin/hub.rb b/lib/community_hub_plugin/hub.rb index 14e0de9..574a821 100644 --- a/lib/community_hub_plugin/hub.rb +++ b/lib/community_hub_plugin/hub.rb @@ -27,7 +27,7 @@ class CommunityHubPlugin::Hub < Folder end def self.twitter_service(page, action) - action=:start + author_id = 54 if action==:start thread = Thread.new { Twurl::Stream.run(page, author_id,'torrent', File.dirname(__FILE__) + '/../../tweeter_stream/config/.twurlrc') @@ -37,7 +37,7 @@ class CommunityHubPlugin::Hub < Folder end def self.facebook_service(page, action) - action=:start + author_id = 54 page_id="mundoreagindo" if action==:start thread = Thread.new { diff --git a/tweeter_stream/lib/twurl/stream.rb b/tweeter_stream/lib/twurl/stream.rb index d83313d..ddbc45e 100755 --- a/tweeter_stream/lib/twurl/stream.rb +++ b/tweeter_stream/lib/twurl/stream.rb @@ -17,6 +17,7 @@ module Twurl @page = page # maybe should not be a class variable @author_id = author_id @@file_path = config_file_path + raise page.inspect Twurl.options = Options.new Twurl.options.command = 'request' # Not necessary anymore Twurl.options.data = {"track"=>tags} -- libgit2 0.21.2