Commit e4ea382f3856f5f37e443a340e50f6753881d187
1 parent
66ed7adc
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
new tweeter token added
Showing
2 changed files
with
14 additions
and
1 deletions
Show diff stats
plugins/community_hub/tweeter_stream/config/twurlrc_mariajoseopinto
0 → 100644
@@ -0,0 +1,13 @@ | @@ -0,0 +1,13 @@ | ||
1 | +--- | ||
2 | +profiles: | ||
3 | + evandro: | ||
4 | + c7dZNecaM2gF5Jx0bRHxocLmv: | ||
5 | + token: 8601482-SnlTsySr3ULpnWgjhlCys2s4RzfIu1dgxxiNHKS4Lr | ||
6 | + consumer_key: c7dZNecaM2gF5Jx0bRHxocLmv | ||
7 | + username: evandro | ||
8 | + consumer_secret: uDIuSmCJaCgDMk1uuumaibzBQk4imlw4g9IdpVtC7Xo3Jj6mog | ||
9 | + secret: adEJxbubtrGPsrU7VRIO7pv3ebvnYURsAytNMF2BtexVt | ||
10 | +configuration: | ||
11 | + default_profile: | ||
12 | + - evandro | ||
13 | + - c7dZNecaM2gF5Jx0bRHxocLmv |
plugins/community_hub/tweeter_stream/lib/twurl/request_controller.rb
@@ -16,7 +16,7 @@ module Twurl | @@ -16,7 +16,7 @@ module Twurl | ||
16 | def perform_request | 16 | def perform_request |
17 | client.perform_request_from_options(options) { |response| | 17 | client.perform_request_from_options(options) { |response| |
18 | chunk_begining = "" | 18 | chunk_begining = "" |
19 | - puts "Connecting to tweeter stream : " + response.inspect | 19 | + puts "Connecting to tweeter stream: " + response.inspect |
20 | response.read_body { |chunk| | 20 | response.read_body { |chunk| |
21 | chunk = chunk_begining + chunk | 21 | chunk = chunk_begining + chunk |
22 | chunk_complete = false | 22 | chunk_complete = false |