Commit 68a2ac5ec1dc227fbb40bc6bc526e05beb2a793c

Authored by Evandro Junior
1 parent 6bd32a6a

Commit para fazer pull

plugins/community_hub/lib/community_hub_plugin/hub.rb
... ... @@ -27,7 +27,7 @@ class CommunityHubPlugin::Hub < Folder
27 27 end
28 28  
29 29 def self.twitter_service(page, action)
30   - action=:start
  30 + author_id = 54
31 31 if action==:start
32 32 thread = Thread.new {
33 33 Twurl::Stream.run(page, author_id,'torrent', File.dirname(__FILE__) + '/../../tweeter_stream/config/.twurlrc')
... ... @@ -37,7 +37,7 @@ class CommunityHubPlugin::Hub < Folder
37 37 end
38 38  
39 39 def self.facebook_service(page, action)
40   - action=:start
  40 + author_id = 54
41 41 page_id="mundoreagindo"
42 42 if action==:start
43 43 thread = Thread.new {
... ...
plugins/community_hub/tweeter_stream/lib/twurl/stream.rb
... ... @@ -17,6 +17,7 @@ module Twurl
17 17 @page = page # maybe should not be a class variable
18 18 @author_id = author_id
19 19 @@file_path = config_file_path
  20 + raise page.inspect
20 21 Twurl.options = Options.new
21 22 Twurl.options.command = 'request' # Not necessary anymore
22 23 Twurl.options.data = {"track"=>tags}
... ...