Commit cfcda5a4b0d95c8a915fc8565a44526d3dd3b496
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'AI3074-community_dashboard' into rails3_community_dashboard
Showing
5 changed files
with
40 additions
and
134 deletions
Show diff stats
plugins/community_hub/facebook_stream/lib_facebook_koala_stream.rb
... | ... | @@ -7,7 +7,7 @@ require 'json' |
7 | 7 | #'CAAD8cd4tMVkBAO3sh2DrzwZCDfeQq9ZAvTz7Jz24ZC26KtMfBoljqaXhD2vBV1zpP0bjrpxXUBzJvKKcFzOm6rMG9Sok7iNVUaxt5iwr7dfMqCvHpMboKpqrqgeLrfCH5ITVTAdezA6ZBSr9iOJrqyCSOYfui0zTmbXJ3FqtshwNRrRy4NPH' |
8 | 8 | # BACKUP TOKEN 'CAAEhsewl0ZAcBAHhipXszZCURSwWLmgvceDbs9mB5baJdLriFxYMEzywmF2fvZBuThuA2Mm7QF8wPd3E6R5pVqVEnC2VhcBb4VrfAnkZC73ZC5g1NRUnKZCB2e6CaRiUBDatR2nf505PeKp7Aj5XxvTdfSqdZCsXxQFYZApPNSUUgkUWm6HwL4rp21MRJXb612sZD' |
9 | 9 | |
10 | -def facebook_comments(hub, author_id, page_id, pooling_time, token, proxy_url) | |
10 | +def deprecated_facebook_comments(hub, author_id, page_id, pooling_time, token, proxy_url) | |
11 | 11 | pooling_time ||= 5 |
12 | 12 | Koala.http_service.http_options = { :proxy => proxy_url } unless proxy_url.blank? |
13 | 13 | ... | ... |
plugins/community_hub/facebook_stream/sample.hash
... | ... | @@ -1,37 +0,0 @@ |
1 | -{"shares"=> | |
2 | - {"count"=>1}, "actions"=>[{"name"=>"Comment", "link"=>"https://www.facebook.com/584831918242311/posts/671466872912148"}, | |
3 | - {"name"=>"Like", "link"=>"https://www.facebook.com/584831918242311/posts/671466872912148"}], | |
4 | - "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, | |
5 | - "icon"=>"https://fbstatic-a.akamaihd.net/rsrc.php/v2/yz/r/StEh3RhPvjk.gif", | |
6 | - "id"=>"584831918242311_671466872912148", | |
7 | - "created_time"=>"2014-04-12T13:00:01+0000", | |
8 | - "type"=>"photo", | |
9 | - "updated_time"=>"2014-04-12T13:00:01+0000", | |
10 | - "privacy"=>{"value"=>""}, | |
11 | - "link"=>"https://www.facebook.com/photo.php?fbid=671348086257360&set=a.611370448921791.1073741828.584831918242311&type=1&relevant_count=1", "object_id"=>"671348086257360", "status_type"=>"added_photos", | |
12 | - "message"=>"BOM DIA pra voc\303\252 que est\303\241 contando os dias para a #ArenaNETmundial!\n\nFALTA POUCO! Fique por dentro de tudo o que rolar\303\241 no maior evento da cultura digit@l! Quer saber mais sobre a programa\303\247\303\243o, os di\303\241logos e atra\303\247\303\265es? Ent\303\243o n\303\243o perca tempo! \n\nACOMPANHE e PARTICIPE! http://www.participa.br/arena\n\n#ParticipaBR", "likes"=>{"data"=>[{"name"=>"Nanda Barreto", "id"=>"100000525584317"}, {"name"=>"Natascha Castro", "id"=>"1792307671"}, {"name"=>"Vanessa Ferreira", "id"=>"100008128234636"}, {"name"=>"Katia Figueira", "id"=>"1171034080"}, {"name"=>"Carla Joner", "id"=>"1659400126"}, {"name"=>"Fagner Cunha", "id"=>"100007101672860"}, {"name"=>"Fernando Silva Soares Silva", "id"=>"1578450483"}], "paging"=>{"cursors"=>{"after"=>"MTU3ODQ1MDQ4Mw==", "before"=>"MTAwMDAwNTI1NTg0MzE3"}}}, "picture"=>"https://fbcdn-photos-d-a.akamaihd.net/hphotos-ak-prn1/v/t1.0-0/10171617_671348086257360_5332957054169466779_s.jpg?oh=57626662a0fccb0325162a7c72f86097&oe=53C4ECE6&__gda__=1405116765_706c0ad0982e3858c862eab9d71eed39"} | |
13 | - | |
14 | -{"shares"=>{"count"=>5}, "actions"=>[{"name"=>"Comment", "link"=>"https://www.facebook.com/584831918242311/posts/671235546268614"}, {"name"=>"Like", "link"=>"https://www.facebook.com/584831918242311/posts/671235546268614"}], "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "icon"=>"https://fbstatic-a.akamaihd.net/rsrc.php/v2/yz/r/StEh3RhPvjk.gif", "to"=>{"data"=>[{"name"=>"Centro Cultural S\303\243o Paulo", "category"=>"Public places", "id"=>"320942385642", "category_list"=>[{"name"=>"Art Gallery", "id"=>"197384240287028"}, {"name"=>"Theatre", "id"=>"173883042668223"}, {"name"=>"Library", "id"=>"169896676390222"}]}]}, "id"=>"584831918242311_671235546268614", "created_time"=>"2014-04-11T22:00:01+0000", "type"=>"photo", "updated_time"=>"2014-04-11T22:00:01+0000", "privacy"=>{"value"=>""}, "link"=>"https://www.facebook.com/photo.php?fbid=671207849604717&set=a.611370448921791.1073741828.584831918242311&type=1&relevant_count=1", "message_tags"=>{"187"=>[{"name"=>"Centro Cultural S\303\243o Paulo", "id"=>"320942385642", "type"=>"page", "length"=>25, "offset"=>187}]}, "object_id"=>"671207849604717", "status_type"=>"added_photos", "message"=>"Se voc\303\252 gosta de navegar LIVREMENTE pela INTERNET, a #ArenaNETmundial \303\251 o local ideal para nos encontramos! \n\nVamos AGITAR a cidade de S\303\243o Paulo, durante os dias 22, 23 e 24 de abril, no Centro Cultural S\303\243o Paulo, e contamos com a sua PARTICIPA\303\207\303\203O para definirmos, juntos, o FUTURO da REDE!\n\nConfirme sua presen\303\247a e venha para o maior encontro da cultura digital! http://bit.ly/ArenaNETmundial \n\n#ParticipaBR", "likes"=>{"data"=>[{"name"=>"MP LN", "id"=>"100000053156433"}, {"name"=>"Murutinga Abaetetuba Murutinga", "id"=>"100008004282653"}, {"name"=>"Robson B. Sampaio", "id"=>"100000664962544"}, {"name"=>"Luiz Claudio Souza", "id"=>"100000088952450"}, {"name"=>"Raquel Saraiva", "id"=>"100001990410008"}, {"name"=>"Participabr", "id"=>"584831918242311"}, {"name"=>"Jo\303\243o Paulo Mehl", "id"=>"1231157546"}, {"name"=>"Alexandra Peixoto", "id"=>"749059638"}], "paging"=>{"cursors"=>{"after"=>"NzQ5MDU5NjM4", "before"=>"MTAwMDAwMDUzMTU2NDMz"}}}, "picture"=>"https://fbcdn-photos-g-a.akamaihd.net/hphotos-ak-prn2/t1.0-0/10169317_671207849604717_5406099128447544778_s.jpg"} | |
15 | -{"shares"=>{"count"=>1}, "actions"=>[{"name"=>"Comment", "link"=>"https://www.facebook.com/584831918242311/posts/671197902939045"}, {"name"=>"Like", "link"=>"https://www.facebook.com/584831918242311/posts/671197902939045"}], "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "icon"=>"https://fbstatic-a.akamaihd.net/rsrc.php/v2/yz/r/StEh3RhPvjk.gif", "to"=>{"data"=>[{"name"=>"Centro Cultural S\303\243o Paulo", "category"=>"Public places", "id"=>"320942385642", "category_list"=>[{"name"=>"Art Gallery", "id"=>"197384240287028"}, {"name"=>"Theatre", "id"=>"173883042668223"}, {"name"=>"Library", "id"=>"169896676390222"}]}]}, "id"=>"584831918242311_671197902939045", "created_time"=>"2014-04-11T19:47:48+0000", "type"=>"photo", "updated_time"=>"2014-04-11T19:47:48+0000", "privacy"=>{"value"=>""}, "link"=>"https://www.facebook.com/photo.php?fbid=671197652939070&set=a.611370448921791.1073741828.584831918242311&type=1&relevant_count=1", "message_tags"=>{"174"=>[{"name"=>"Centro Cultural S\303\243o Paulo", "id"=>"320942385642", "type"=>"page", "length"=>25, "offset"=>174}]}, "object_id"=>"671197652939070", "status_type"=>"added_photos", "message"=>"A #ArenaNETmundial est\303\241 sendo criada por muitas mentes e cora\303\247\303\265es que acreditam na #InternetLivre como uma condi\303\247\303\243o para a democracia!\n\nNeste EXATO momento est\303\241 rolando, no Centro Cultural S\303\243o Paulo, o \303\272ltimo ENCONTR\303\203O com a SOCIEDADE CIVIL para debater a AGENDA do evento! Na pauta, a defini\303\247\303\243o de temas, sugest\303\243o de convidad@s e e \303\272ltimos retoques na programa\303\247\303\243o. \n\nNosso MUITO obrigad@ a tod@s os parceir@s que est\303\243o conosco na constru\303\247\303\243o desta hist\303\263ria! \n\nAcompanhe nossa cobertura pelo Twitter: https://twitter.com/participabr", "likes"=>{"data"=>[{"name"=>"Carla Joner", "id"=>"1659400126"}, {"name"=>"Cl\303\241udia Sousa Leit\303\243o", "id"=>"100004451373687"}, {"name"=>"Robson B. Sampaio", "id"=>"100000664962544"}, {"name"=>"At\303\255lio Alencar", "id"=>"100001932291363"}, {"name"=>"Participabr", "id"=>"584831918242311"}, {"name"=>"Yuri Almeida", "id"=>"551947517"}, {"name"=>"Janaina Spode", "id"=>"579251019"}, {"name"=>"Nanda Barreto", "id"=>"100000525584317"}], "paging"=>{"cursors"=>{"after"=>"MTAwMDAwNTI1NTg0MzE3", "before"=>"MTY1OTQwMDEyNg=="}}}, "picture"=>"https://fbcdn-photos-b-a.akamaihd.net/hphotos-ak-prn2/t1.0-0/1477604_671197652939070_5437456354222840972_s.jpg"} | |
16 | -{"shares"=>{"count"=>3}, "actions"=>[{"name"=>"Comment", "link"=>"https://www.facebook.com/584831918242311/posts/671156409609861"}, {"name"=>"Like", "link"=>"https://www.facebook.com/584831918242311/posts/671156409609861"}], "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "icon"=>"https://fbstatic-a.akamaihd.net/rsrc.php/v2/yz/r/StEh3RhPvjk.gif", "id"=>"584831918242311_671156409609861", "created_time"=>"2014-04-11T17:35:47+0000", "type"=>"photo", "updated_time"=>"2014-04-11T17:35:47+0000", "privacy"=>{"value"=>""}, "link"=>"https://www.facebook.com/photo.php?fbid=671156066276562&set=a.611370448921791.1073741828.584831918242311&type=1&relevant_count=1", "object_id"=>"671156066276562", "status_type"=>"added_photos", "message"=>"A #ArenaNETmundial ser\303\241 o nosso ponto de encontro para discutirmos o FUTURO da INTERNET! \n\nVenha conferir os di\303\241logos sobre a DEMOCRACIA na REDE, DIREITOS HUMANOS, PARTICIPA\303\207\303\203O SOCIAL e muito mais! http://ow.ly/vCgb7\n\nSe voc\303\252 ainda n\303\243o confirmou presen\303\247a no evento, corre que ainda d\303\241 tempo! Vamos AGITAR a REDE!\n\n#ParticipaBR", "likes"=>{"data"=>[{"name"=>"Natalia Menhem", "id"=>"501520025"}, {"name"=>"Robson B. Sampaio", "id"=>"100000664962544"}, {"name"=>"Luiz Claudio Souza", "id"=>"100000088952450"}, {"name"=>"Adriana Martorano", "id"=>"100005369532256"}, {"name"=>"Leo Farias", "id"=>"1475415098"}, {"name"=>"Myrian Conor", "id"=>"100000262033394"}, {"name"=>"Alexandra Peixoto", "id"=>"749059638"}], "paging"=>{"cursors"=>{"after"=>"NzQ5MDU5NjM4", "before"=>"NTAxNTIwMDI1"}}}, "picture"=>"https://fbcdn-photos-f-a.akamaihd.net/hphotos-ak-frc3/t1.0-0/10151967_671156066276562_1040945857784462133_s.png"} | |
17 | -{"shares"=>{"count"=>3}, "actions"=>[{"name"=>"Comment", "link"=>"https://www.facebook.com/584831918242311/posts/671092979616204"}, {"name"=>"Like", "link"=>"https://www.facebook.com/584831918242311/posts/671092979616204"}], "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "icon"=>"https://fbstatic-a.akamaihd.net/rsrc.php/v2/yz/r/StEh3RhPvjk.gif", "id"=>"584831918242311_671092979616204", "created_time"=>"2014-04-11T14:15:00+0000", "type"=>"photo", "updated_time"=>"2014-04-11T14:15:00+0000", "privacy"=>{"value"=>""}, "link"=>"https://www.facebook.com/photo.php?fbid=670251459700356&set=a.611370448921791.1073741828.584831918242311&type=1&relevant_count=1", "object_id"=>"670251459700356", "status_type"=>"added_photos", "message"=>"Agora a LUTA \303\251 no Senado!\n\n#MarcoCivil: Senado far\303\241 tr\303\252s audi\303\252ncias p\303\272blicas!\n\nSer\303\243o convidados para o debate representantes da Anatel, do CGI, do Sindtelebrasil e o Idec. As audi\303\252ncias est\303\243o previstas para os dias 10, 15 e 22 de abril. Saiba mais: http://ow.ly/vClKH\n\n#NaM\303\255dia #ParticipaBR", "likes"=>{"data"=>[{"name"=>"Robson B. Sampaio", "id"=>"100000664962544"}, {"name"=>"Alexandre Arns Gonzales", "id"=>"100001822508049"}, {"name"=>"Vanessa Ferreira", "id"=>"100008128234636"}, {"name"=>"MP LN", "id"=>"100000053156433"}, {"name"=>"Carlos Lobo", "id"=>"763893285"}, {"name"=>"Leo Farias", "id"=>"1475415098"}, {"name"=>"Janaina Spode", "id"=>"579251019"}, {"name"=>"Adriana Martorano", "id"=>"100005369532256"}, {"name"=>"Myrian Conor", "id"=>"100000262033394"}, {"name"=>"Alexandra Peixoto", "id"=>"749059638"}], "paging"=>{"cursors"=>{"after"=>"NzQ5MDU5NjM4", "before"=>"MTAwMDAwNjY0OTYyNTQ0"}}}, "picture"=>"https://fbcdn-photos-d-a.akamaihd.net/hphotos-ak-prn2/t1.0-0/10258237_670251459700356_7951669488914497992_s.jpg"} | |
18 | -{"shares"=>{"count"=>11}, "actions"=>[{"name"=>"Comment", "link"=>"https://www.facebook.com/584831918242311/posts/671067426285426"}, {"name"=>"Like", "link"=>"https://www.facebook.com/584831918242311/posts/671067426285426"}], "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "icon"=>"https://fbstatic-a.akamaihd.net/rsrc.php/v2/yz/r/StEh3RhPvjk.gif", "to"=>{"data"=>[{"name"=>"Elizabeth Gilbert", "category"=>"Writer", "id"=>"227291194019670"}, {"name"=>"Be\303\241 Tibiri\303\247\303\241", "id"=>"100001756483405"}, {"name"=>"Javier Toret Medina", "id"=>"1221646905"}, {"name"=>"Sergio Amadeu da Silveira", "id"=>"752385273"}]}, "id"=>"584831918242311_671067426285426", "created_time"=>"2014-04-11T13:00:01+0000", "type"=>"photo", "updated_time"=>"2014-04-11T13:00:01+0000", "privacy"=>{"value"=>""}, "link"=>"https://www.facebook.com/photo.php?fbid=670811722977663&set=a.611370448921791.1073741828.584831918242311&type=1&relevant_count=1", "message_tags"=>{"229"=>[{"name"=>"Sergio Amadeu", "id"=>"752385273", "type"=>"user", "length"=>13, "offset"=>229}], "164"=>[{"name"=>"Elizabeth Gilbert", "id"=>"227291194019670", "type"=>"page", "length"=>17, "offset"=>164}], "200"=>[{"name"=>"Be\303\241 Tibiri\303\247\303\241", "id"=>"100001756483405", "type"=>"user", "length"=>12, "offset"=>200}], "214"=>[{"name"=>"Javier Toret", "id"=>"1221646905", "type"=>"user", "length"=>12, "offset"=>214}]}, "object_id"=>"670811722977663", "status_type"=>"added_photos", "message"=>"Veja quem s\303\243o os debatedores que j\303\241 CONFIRMARAM presen\303\247a na #ArenaNETmundial, o evento que vai sacudir a REDE, de 22 a 24 de abril, no Centro Cultural S\303\243o Paulo! \n\nElizabeth Gilbert, Tim Berners-Lee, Be\303\241 Tibiri\303\247\303\241, Javier Toret e Sergio Amadeu s\303\243o alguns dos GRANDES nomes confirmados! Quer saber mais sobre os debatedores? \303\211 s\303\263 CLICAR aqui -> http://ow.ly/vEPfV\n\nCONFIRME sua presen\303\247a no evento e venha discutir a GOVERNAN\303\207A da REDE! http://bit.ly/ArenaNETmundial!\n\n#ParticipaBR", "likes"=>{"data"=>[{"name"=>"Murutinga Abaetetuba Murutinga", "id"=>"100008004282653"}, {"name"=>"Robson B. Sampaio", "id"=>"100000664962544"}, {"name"=>"Tatiana Sim\303\265es Sottili", "id"=>"1642810466"}, {"name"=>"Javier Toret Medina", "id"=>"1221646905"}, {"name"=>"Lucio Uberdan", "id"=>"685024343"}, {"name"=>"Allix Lis Rodrigues", "id"=>"624623048"}, {"name"=>"Nanda Barreto", "id"=>"100000525584317"}, {"name"=>"Alexandra Peixoto", "id"=>"749059638"}, {"name"=>"Janaina Spode", "id"=>"579251019"}, {"name"=>"Adriana Martorano", "id"=>"100005369532256"}, {"name"=>"Myrian Conor", "id"=>"100000262033394"}], "paging"=>{"cursors"=>{"after"=>"MTAwMDAwMjYyMDMzMzk0", "before"=>"MTAwMDA4MDA0MjgyNjUz"}}}, "picture"=>"https://fbcdn-photos-a-a.akamaihd.net/hphotos-ak-frc3/t1.0-0/1466021_670811722977663_2539462382863559512_s.png"} | |
19 | -{"shares"=>{"count"=>6}, "actions"=>[{"name"=>"Comment", "link"=>"https://www.facebook.com/584831918242311/posts/671044212954414"}, {"name"=>"Like", "link"=>"https://www.facebook.com/584831918242311/posts/671044212954414"}], "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "icon"=>"https://fbstatic-a.akamaihd.net/rsrc.php/v2/yz/r/StEh3RhPvjk.gif", "id"=>"584831918242311_671044212954414", "created_time"=>"2014-04-11T11:30:00+0000", "type"=>"photo", "updated_time"=>"2014-04-11T11:30:00+0000", "privacy"=>{"value"=>""}, "link"=>"https://www.facebook.com/photo.php?fbid=670808672977968&set=a.611370448921791.1073741828.584831918242311&type=1&relevant_count=1", "object_id"=>"670808672977968", "status_type"=>"added_photos", "message"=>"BOM DIA pra voc\303\252 que quer revolucionar a INTERNET! \n\nE que tal come\303\247ar esta revolu\303\247\303\243o dando ideias e enviando propostas para mudarmos o FUTURO da REDE? Acesse a nossa consulta p\303\272blica e deixe a sua sugest\303\243o! http://www.participa.br/\n\nA #ArenaNETmundial quer ouvir a sua opini\303\243o: QUE INTERNET VOC\303\212 QUER? \n\n#ParticipaBR", "likes"=>{"data"=>[{"name"=>"Renato Cortez", "id"=>"100000144194858"}, {"name"=>"Izabela Matos Chaves", "id"=>"100004256850261"}, {"name"=>"Raquel Le\303\243es", "id"=>"100000163559078"}, {"name"=>"Robson B. Sampaio", "id"=>"100000664962544"}, {"name"=>"Vanessa Ferreira", "id"=>"100008128234636"}, {"name"=>"Myrian Conor", "id"=>"100000262033394"}, {"name"=>"Alexandra Peixoto", "id"=>"749059638"}, {"name"=>"Nathalia Sautchuk Patricio", "id"=>"662335299"}, {"name"=>"Carola Oliveira", "id"=>"1160276837"}, {"name"=>"Luiz Augusto Lisb\303\264a", "id"=>"100002956996510"}, {"name"=>"Janaina Spode", "id"=>"579251019"}, {"name"=>"Elly Marlley", "id"=>"100005663351771"}, {"name"=>"Participabr", "id"=>"584831918242311"}, {"name"=>"Yuri Almeida", "id"=>"551947517"}, {"name"=>"MP LN", "id"=>"100000053156433"}], "paging"=>{"cursors"=>{"after"=>"MTAwMDAwMDUzMTU2NDMz", "before"=>"MTAwMDAwMTQ0MTk0ODU4"}}}, "picture"=>"https://fbcdn-photos-g-a.akamaihd.net/hphotos-ak-prn2/t1.0-0/10007468_670808672977968_7995649865195786401_s.jpg"} | |
20 | -{"shares"=>{"count"=>12}, "actions"=>[{"name"=>"Comment", "link"=>"https://www.facebook.com/584831918242311/posts/670853929640109"}, {"name"=>"Like", "link"=>"https://www.facebook.com/584831918242311/posts/670853929640109"}], "comments"=>{"data"=>[{"like_count"=>1, "user_likes"=>false, "can_remove"=>false, "from"=>{"name"=>"Evelyn Araripe", "id"=>"100003010308675"}, "id"=>"670805622978273_2156946", "created_time"=>"2014-04-11T17:57:19+0000", "message"=>"T\303\241 ficando muito boa essa programa\303\247\303\243o!!!"}], "paging"=>{"cursors"=>{"after"=>"MQ==", "before"=>"MQ=="}}}, "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "icon"=>"https://fbstatic-a.akamaihd.net/rsrc.php/v2/yz/r/StEh3RhPvjk.gif", "to"=>{"data"=>[{"name"=>"Centro Cultural S\303\243o Paulo", "category"=>"Public places", "id"=>"320942385642", "category_list"=>[{"name"=>"Art Gallery", "id"=>"197384240287028"}, {"name"=>"Theatre", "id"=>"173883042668223"}, {"name"=>"Library", "id"=>"169896676390222"}]}, {"name"=>"Tom Z\303\251", "category"=>"Musician/band", "id"=>"26030117065"}, {"name"=>"Fernando Anitelli", "category"=>"Musician/band", "id"=>"146916915375515"}, {"name"=>"Emicida", "category"=>"Musician/band", "id"=>"145578725499808"}, {"name"=>"Jorge Mautner", "category"=>"Musician/band", "id"=>"24050959127"}]}, "id"=>"584831918242311_670853929640109", "created_time"=>"2014-04-11T00:00:01+0000", "type"=>"photo", "updated_time"=>"2014-04-11T17:57:19+0000", "privacy"=>{"value"=>""}, "link"=>"https://www.facebook.com/photo.php?fbid=670805622978273&set=a.611370448921791.1073741828.584831918242311&type=1&relevant_count=1", "message_tags"=>{"206"=>[{"name"=>"Tom Z\303\251", "id"=>"26030117065", "type"=>"page", "length"=>6, "offset"=>206}], "243"=>[{"name"=>"Jorge Mautner", "id"=>"24050959127", "type"=>"page", "length"=>13, "offset"=>243}], "233"=>[{"name"=>"Emicida", "id"=>"145578725499808", "type"=>"page", "length"=>7, "offset"=>233}], "157"=>[{"name"=>"Centro Cultural S\303\243o Paulo", "id"=>"320942385642", "type"=>"page", "length"=>25, "offset"=>157}], "214"=>[{"name"=>"Fernando Anitelli", "id"=>"146916915375515", "type"=>"page", "length"=>17, "offset"=>214}]}, "object_id"=>"670805622978273", "status_type"=>"added_photos", "message"=>"A CULTURA DIGITAL TEM ESPA\303\207O NOS SHOWS DA #ArenaNETmundial!\n\nPara instigar a criatividade coletiva, a #ArenaNETmundial abre espa\303\247o para atra\303\247\303\265es musicais no Centro Cultural S\303\243o Paulo, de 22 a 24 de abril!\n\nTom Z\303\251, Fernando Anitelli, Emicida e Jorge Mautner v\303\243o fechar a rotina di\303\241ria de di\303\241logos e oficinas do evento! Se voc\303\252 est\303\241 curios@ para saber a programa\303\247\303\243o, n\303\243o perca tempo, acesse: http://ow.ly/vFaAu\n\n#ParticipaBR", "likes"=>{"data"=>[{"name"=>"Robson B. Sampaio", "id"=>"100000664962544"}, {"name"=>"Pepe Martini", "id"=>"1254030646"}, {"name"=>"Evelyn Araripe", "id"=>"100003010308675"}, {"name"=>"Fernando Caixeta", "id"=>"100000103555498"}, {"name"=>"Alan Collyer", "id"=>"100003584527506"}, {"name"=>"Laila Bellix", "id"=>"679318319"}, {"name"=>"Participabr", "id"=>"584831918242311"}, {"name"=>"Rodolfo Tokimatsu", "id"=>"100003197560595"}, {"name"=>"B Tany B. Tany", "id"=>"100000308845954"}, {"name"=>"Reinaldo Castro", "id"=>"1265463106"}, {"name"=>"Nanda Barreto", "id"=>"100000525584317"}, {"name"=>"Adriana Martorano", "id"=>"100005369532256"}, {"name"=>"Talita Nogueira", "id"=>"100001714757945"}, {"name"=>"Renilson Dur\303\243es", "id"=>"1665215750"}, {"name"=>"Janaina Spode", "id"=>"579251019"}, {"name"=>"Mariana Heinz", "id"=>"100001699022773"}, {"name"=>"Wellington Par\303\241", "id"=>"100000408605032"}, {"name"=>"Yuri Almeida", "id"=>"551947517"}, {"name"=>"Christiano Cavalcanti", "id"=>"100001984914972"}, {"name"=>"Alexandra Peixoto", "id"=>"749059638"}, {"name"=>"Fernando Silva Soares Silva", "id"=>"1578450483"}, {"name"=>"Henrique Parra Parra Filho", "id"=>"100000747904691"}, {"name"=>"D\303\251bora Lessa", "id"=>"680508753"}], "paging"=>{"cursors"=>{"after"=>"NjgwNTA4NzUz", "before"=>"MTAwMDAwNjY0OTYyNTQ0"}}}, "picture"=>"https://fbcdn-photos-e-a.akamaihd.net/hphotos-ak-ash3/t1.0-0/10155378_670805622978273_7293058947948255933_s.jpg"} | |
21 | -{"actions"=>[{"name"=>"Comment", "link"=>"https://www.facebook.com/584831918242311/posts/670799439645558"}, {"name"=>"Like", "link"=>"https://www.facebook.com/584831918242311/posts/670799439645558"}], "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "icon"=>"https://fbstatic-a.akamaihd.net/rsrc.php/v2/yz/r/StEh3RhPvjk.gif", "id"=>"584831918242311_670799439645558", "created_time"=>"2014-04-10T22:00:00+0000", "type"=>"photo", "updated_time"=>"2014-04-10T22:00:00+0000", "privacy"=>{"value"=>""}, "link"=>"https://www.facebook.com/photo.php?fbid=670783762980459&set=a.611370448921791.1073741828.584831918242311&type=1&relevant_count=1", "object_id"=>"670783762980459", "status_type"=>"added_photos", "message"=>"Da #ArenaNETmundial para o MUNDO!\n\nColuna do Estad\303\243o fala sobre a participa\303\247\303\243o do Tim Berners-Lee no evento que vai AGITAR a REDE neste m\303\252s! http://ow.ly/vEPUy\n\n#NaM\303\255dia #ParticipaBR", "likes"=>{"data"=>[{"name"=>"Robson B. Sampaio", "id"=>"100000664962544"}, {"name"=>"Johnny Pequeno", "id"=>"100001773781004"}, {"name"=>"Alexandra Peixoto", "id"=>"749059638"}, {"name"=>"Rafael Pops Barbosa Moraes", "id"=>"1533873688"}, {"name"=>"Fernando Silva Soares Silva", "id"=>"1578450483"}, {"name"=>"Carlos Lobo", "id"=>"763893285"}], "paging"=>{"cursors"=>{"after"=>"NzYzODkzMjg1", "before"=>"MTAwMDAwNjY0OTYyNTQ0"}}}, "picture"=>"https://fbcdn-photos-b-a.akamaihd.net/hphotos-ak-prn2/t1.0-0/10171045_670783762980459_9192964314133703634_s.jpg"} | |
22 | -{"shares"=>{"count"=>17}, "actions"=>[{"name"=>"Comment", "link"=>"https://www.facebook.com/584831918242311/posts/670756449649857"}, {"name"=>"Like", "link"=>"https://www.facebook.com/584831918242311/posts/670756449649857"}], "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "icon"=>"https://fbstatic-a.akamaihd.net/rsrc.php/v2/yz/r/StEh3RhPvjk.gif", "to"=>{"data"=>[{"name"=>"Centro Cultural S\303\243o Paulo", "category"=>"Public places", "id"=>"320942385642", "category_list"=>[{"name"=>"Art Gallery", "id"=>"197384240287028"}, {"name"=>"Theatre", "id"=>"173883042668223"}, {"name"=>"Library", "id"=>"169896676390222"}]}]}, "id"=>"584831918242311_670756449649857", "created_time"=>"2014-04-10T19:22:39+0000", "type"=>"photo", "updated_time"=>"2014-04-10T19:22:39+0000", "privacy"=>{"value"=>""}, "link"=>"https://www.facebook.com/photo.php?fbid=670756402983195&set=a.611370448921791.1073741828.584831918242311&type=1&relevant_count=1", "message_tags"=>{"86"=>[{"name"=>"Centro Cultural S\303\243o Paulo", "id"=>"320942385642", "type"=>"page", "length"=>25, "offset"=>86}]}, "object_id"=>"670756402983195", "status_type"=>"added_photos", "message"=>"\303\232LTIMA CHAMADA PARA O ENCONTRO ABERTO DA #ArenaNETmundial!\n\nAmanh\303\243, das 15 \303\240s 17h, no Centro Cultural S\303\243o Paulo, acontece o \303\272ltimo encontro aberto para a constru\303\247\303\243o da AGENDA do evento!\n\nBuscamos um esfor\303\247o COLETIVO para preservar o processo ABERTO, PARTICIPATIVO e DEMOCR\303\201TICO! N\303\243o fique de fora! PARTICIPE! SAIBA mais -> http://ow.ly/vEMvs\n\n#MarcaNaAgenda #ParticipaBR", "likes"=>{"data"=>[{"name"=>"Robson B. Sampaio", "id"=>"100000664962544"}, {"name"=>"Pepe Martini", "id"=>"1254030646"}, {"name"=>"Lia Paul", "id"=>"100005140505167"}, {"name"=>"Thiago Sk\303\241rnio", "id"=>"100000805004346"}, {"name"=>"Rosely Andreassa", "id"=>"100003614211549"}, {"name"=>"Alexandra Peixoto", "id"=>"749059638"}, {"name"=>"Adriana Martorano", "id"=>"100005369532256"}, {"name"=>"Jo\303\243o Baptista Pimentel Neto", "id"=>"1551520480"}, {"name"=>"Kely Rego", "id"=>"100000530478123"}, {"name"=>"Nanda Barreto", "id"=>"100000525584317"}, {"name"=>"Marcelo Branco", "id"=>"1260145727"}, {"name"=>"Everton Rodrigues", "id"=>"832259597"}, {"name"=>"Douglas Freitas", "id"=>"100001187262990"}, {"name"=>"Carlos Lobo", "id"=>"763893285"}, {"name"=>"Myrian Conor", "id"=>"100000262033394"}], "paging"=>{"cursors"=>{"after"=>"MTAwMDAwMjYyMDMzMzk0", "before"=>"MTAwMDAwNjY0OTYyNTQ0"}}}, "picture"=>"https://fbcdn-photos-c-a.akamaihd.net/hphotos-ak-frc1/t1.0-0/10151311_670756402983195_7092075331556696204_s.png"} | |
23 | -{"shares"=>{"count"=>25}, "actions"=>[{"name"=>"Comment", "link"=>"https://www.facebook.com/584831918242311/posts/670664639659038"}, {"name"=>"Like", "link"=>"https://www.facebook.com/584831918242311/posts/670664639659038"}], "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "icon"=>"https://fbstatic-a.akamaihd.net/rsrc.php/v2/yz/r/StEh3RhPvjk.gif", "id"=>"584831918242311_670664639659038", "created_time"=>"2014-04-10T15:49:18+0000", "type"=>"photo", "updated_time"=>"2014-04-10T15:49:18+0000", "privacy"=>{"value"=>""}, "link"=>"https://www.facebook.com/photo.php?fbid=670663609659141&set=a.611370448921791.1073741828.584831918242311&type=1&relevant_count=1", "object_id"=>"670663609659141", "status_type"=>"added_photos", "message"=>"HOJE, \303\240s 14 tem TUITA\303\207O da #ArenaNETmundial! \n\nUse a hashtag #ArenaNETmundial e vamos invadir o Twitter! Acompanhe, participe e fique por dentro de tudo o que rolar\303\241 no evento! \n\n#ParticipaBR", "likes"=>{"data"=>[{"name"=>"Robson B. Sampaio", "id"=>"100000664962544"}, {"name"=>"Fernando Silva Soares Silva", "id"=>"1578450483"}, {"name"=>"Rosely Andreassa", "id"=>"100003614211549"}, {"name"=>"Adriana Martorano", "id"=>"100005369532256"}, {"name"=>"Usuarios de Internet del Ecuador", "id"=>"96481988151"}, {"name"=>"Manoel Lages Filho", "id"=>"100000020201492"}, {"name"=>"Everton Rodrigues", "id"=>"832259597"}, {"name"=>"Marcelo Branco", "id"=>"1260145727"}, {"name"=>"Nanda Barreto", "id"=>"100000525584317"}, {"name"=>"Myrian Conor", "id"=>"100000262033394"}, {"name"=>"Carlos Lobo", "id"=>"763893285"}, {"name"=>"Leoncio Nascimento", "id"=>"100000680460377"}, {"name"=>"Janaina Spode", "id"=>"579251019"}, {"name"=>"Thiago Sk\303\241rnio", "id"=>"100000805004346"}], "paging"=>{"cursors"=>{"after"=>"MTAwMDAwODA1MDA0MzQ2", "before"=>"MTAwMDAwNjY0OTYyNTQ0"}}}, "picture"=>"https://fbcdn-photos-h-a.akamaihd.net/hphotos-ak-frc3/t1.0-0/1558385_670663609659141_6538204679475681502_s.jpg"} | |
24 | -{"shares"=>{"count"=>76}, "actions"=>[{"name"=>"Comment", "link"=>"https://www.facebook.com/584831918242311/posts/670625762996259"}, {"name"=>"Like", "link"=>"https://www.facebook.com/584831918242311/posts/670625762996259"}], "comments"=>{"data"=>[{"like_count"=>5, "user_likes"=>false, "can_remove"=>false, "from"=>{"name"=>"Henrique Parra Parra Filho", "id"=>"100000747904691"}, "id"=>"670619366330232_2155057", "created_time"=>"2014-04-10T13:52:01+0000", "message_tags"=>[{"name"=>"Frederico Bortolato", "id"=>"1289479599", "type"=>"user", "length"=>19, "offset"=>242}, {"name"=>"Ricardo Poppi", "id"=>"100000099352333", "type"=>"user", "length"=>13, "offset"=>264}], "message"=>"Tim Berners-Lee, Manuel Castells e Gilberto Gil \303\251 programa\303\247\303\243o das mais interessantes. Tom Z\303\251, Fernando Anitelli, Emicida e Jorge Mautner \303\251 balada das melhores. N\303\243o sei se chamo de festa ou de aprendizado, mas sei que n\303\243o d\303\241 para perder heim Frederico Bortolato e Ricardo Poppi! ;)"}, {"like_count"=>3, "user_likes"=>false, "can_remove"=>false, "from"=>{"name"=>"Frederico Bortolato", "id"=>"1289479599"}, "id"=>"670619366330232_2155222", "created_time"=>"2014-04-10T15:17:19+0000", "message_tags"=>[{"name"=>"Henrique", "id"=>"100000747904691", "type"=>"user", "length"=>8, "offset"=>22}], "message"=>"Sem chance de perder, Henrique!"}, {"like_count"=>2, "user_likes"=>false, "can_remove"=>false, "from"=>{"name"=>"Lorac Mustaine", "id"=>"1083326546"}, "id"=>"670619366330232_2155143", "created_time"=>"2014-04-10T14:29:48+0000", "message"=>"Agora come\303\247ou ficar interessante... =)"}, {"like_count"=>1, "user_likes"=>false, "can_remove"=>false, "from"=>{"name"=>"Nestor Ribas Leite Filho", "id"=>"100003572810075"}, "id"=>"670619366330232_2155778", "created_time"=>"2014-04-10T21:59:28+0000", "message"=>"ISTO \303\211 JOIA RARA"}, {"like_count"=>1, "user_likes"=>false, "can_remove"=>false, "from"=>{"name"=>"Fa Conti", "id"=>"600679756"}, "id"=>"670619366330232_2155755", "created_time"=>"2014-04-10T21:27:47+0000", "message"=>"oba!"}, {"like_count"=>0, "user_likes"=>false, "can_remove"=>false, "from"=>{"name"=>"Ana Mirtes Fouro", "id"=>"100002265340422"}, "id"=>"670619366330232_2156470", "created_time"=>"2014-04-11T10:33:57+0000", "message"=>"(Y)"}, {"like_count"=>0, "user_likes"=>false, "can_remove"=>false, "from"=>{"name"=>"Ri At Uw", "id"=>"1071851267"}, "id"=>"670619366330232_2156197", "created_time"=>"2014-04-11T03:38:06+0000", "message_tags"=>[{"name"=>"Javier", "id"=>"528937139", "type"=>"user", "length"=>6, "offset"=>11}, {"name"=>"Otto", "id"=>"100002294062950", "type"=>"user", "length"=>4, "offset"=>18}, {"name"=>"Daniel", "id"=>"100000218054052", "type"=>"user", "length"=>6, "offset"=>23}, {"name"=>"Vitor", "id"=>"100002236271320", "type"=>"user", "length"=>5, "offset"=>30}], "message"=>"Vamos n\303\251?! Javier Otto Daniel Vitor"}, {"like_count"=>1, "user_likes"=>false, "can_remove"=>false, "from"=>{"name"=>"Lincoln Aoki", "id"=>"100000049366725"}, "id"=>"670619366330232_2155726", "created_time"=>"2014-04-10T20:59:38+0000", "message"=>"OK OK .. Valeu mestre Sergio Amadeu. A Internet n\303\243o pode ter dono, a Internet \303\251 do povo, precisamos ter mais democracia na era Digital. O Brasil j\303\241 supera mais linhas de celular habilitada que o n\303\272mero de habitantes do pa\303\255s. Estamos na era digital, por isso, o povo brasileiro precisa ter pelo menos acesso a Internet com pre\303\247os mais acess\303\255veis."}], "paging"=>{"cursors"=>{"after"=>"MQ==", "before"=>"OA=="}}}, "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "icon"=>"https://fbstatic-a.akamaihd.net/rsrc.php/v2/yz/r/StEh3RhPvjk.gif", "to"=>{"data"=>[{"name"=>"Tim Berners-Lee", "category"=>"Public figure", "id"=>"108177502537793"}, {"name"=>"Manuel Castells", "category"=>"Author", "id"=>"112735342073078"}, {"name"=>"Gilberto Gil", "category"=>"Musician/band", "id"=>"104152332963030"}, {"name"=>"Tom Z\303\251", "category"=>"Musician/band", "id"=>"26030117065"}, {"name"=>"Fernando Anitelli", "category"=>"Musician/band", "id"=>"132110136857273"}, {"name"=>"Emicida", "category"=>"Musician/band", "id"=>"145578725499808"}, {"name"=>"Jorge Mautner", "category"=>"Musician/band", "id"=>"24050959127"}]}, "id"=>"584831918242311_670625762996259", "created_time"=>"2014-04-10T13:49:53+0000", "type"=>"photo", "updated_time"=>"2014-04-11T10:33:57+0000", "privacy"=>{"value"=>""}, "link"=>"https://www.facebook.com/photo.php?fbid=670619366330232&set=a.611370448921791.1073741828.584831918242311&type=1&relevant_count=1", "message_tags"=>{"534"=>[{"name"=>"Jorge Mautner", "id"=>"24050959127", "type"=>"page", "length"=>13, "offset"=>534}], "524"=>[{"name"=>"Emicida", "id"=>"145578725499808", "type"=>"page", "length"=>7, "offset"=>524}], "35"=>[{"name"=>"Gilberto Gil", "id"=>"104152332963030", "type"=>"page", "length"=>12, "offset"=>35}], "505"=>[{"name"=>"Fernando Anitelli", "id"=>"132110136857273", "type"=>"page", "length"=>17, "offset"=>505}], "0"=>[{"name"=>"Tim Berners-Lee", "id"=>"108177502537793", "type"=>"page", "length"=>15, "offset"=>0}], "17"=>[{"name"=>"Manuel Castells", "id"=>"112735342073078", "type"=>"page", "length"=>15, "offset"=>17}], "497"=>[{"name"=>"Tom Z\303\251", "id"=>"26030117065", "type"=>"page", "length"=>6, "offset"=>497}]}, "object_id"=>"670619366330232", "status_type"=>"added_photos", "message"=>"Tim Berners-Lee, Manuel Castells e Gilberto Gil juntos, para discutir os rumos da Internet no Brasil e no mundo, a democracia na era digital e a sociedade em rede?? \n\n#Sim e al\303\251m dessas personalidades, a #ArenaNETmundial #ParticipaBR trar\303\241 outros grandes pensadores, ativistas, gestores p\303\272blicos e comunicadores de diversos pa\303\255ses. Para unir a cultura popular com a cultura digital, grandes artistas que s\303\243o ativistas do conhecimento livre far\303\243o apresenta\303\247\303\265es musicais no evento. Entre eles est\303\243o Tom Z\303\251, Fernando Anitelli, Emicida e Jorge Mautner. T\303\241 bom pra caramba! ;) \n\nVenha discutir o futuro da internet na #ArenaNETmundial! Confirme sua presen\303\247a no evento! http://bit.ly/ArenaNETmundial", "likes"=>{"data"=>[{"name"=>"Robson B. Sampaio", "id"=>"100000664962544"}, {"name"=>"Esmeralda Medeiros", "id"=>"100007760560534"}, {"name"=>"Nonatto Vieira", "id"=>"100003632488645"}, {"name"=>"Luiz S\303\251rgio Pires Guimar\303\243es", "id"=>"100004080441032"}, {"name"=>"Violeta Cross", "id"=>"100000784826227"}, {"name"=>"Tais Falc\303\243o", "id"=>"100001393874437"}, {"name"=>"Mary Oliveira", "id"=>"100006774454711"}, {"name"=>"Jane Celia Santos", "id"=>"100004278401016"}, {"name"=>"Eliana Santos", "id"=>"100004708982012"}, {"name"=>"Rodrigo Mantovani", "id"=>"100004036951692"}, {"name"=>"Aluizio Matias Santos", "id"=>"100000096283728"}, {"name"=>"Rosa Meire", "id"=>"1654472213"}, {"name"=>"Alzira Higino", "id"=>"100000838728858"}, {"name"=>"Carolina Rovai", "id"=>"1032733783"}, {"name"=>"Maria Barbosa Aparecida", "id"=>"100007490796202"}, {"name"=>"Pepe Martini", "id"=>"1254030646"}, {"name"=>"Everton Rodrigues", "id"=>"832259597"}, {"name"=>"S\303\251rgio Ant\303\264nio Mota Furtado", "id"=>"100003767543014"}, {"name"=>"Zeca Teodoro", "id"=>"1679641558"}, {"name"=>"Rafael Araujo", "id"=>"100004001539572"}, {"name"=>"Karoline Holanda", "id"=>"100000236542676"}, {"name"=>"Monick Passos", "id"=>"100007925590237"}, {"name"=>"Ana Maria Riva da Silva", "id"=>"100005727553477"}, {"name"=>"Luanacristina Simoes", "id"=>"100004173271257"}, {"name"=>"Iracema Ferreira", "id"=>"100005909612048"}], "paging"=>{"next"=>"https://graph.facebook.com/584831918242311_670625762996259/likes?access_token=CAAD8cd4tMVkBAO3sh2DrzwZCDfeQq9ZAvTz7Jz24ZC26KtMfBoljqaXhD2vBV1zpP0bjrpxXUBzJvKKcFzOm6rMG9Sok7iNVUaxt5iwr7dfMqCvHpMboKpqrqgeLrfCH5ITVTAdezA6ZBSr9iOJrqyCSOYfui0zTmbXJ3FqtshwNRrRy4NPH&limit=25&after=MTAwMDA1OTA5NjEyMDQ4", "cursors"=>{"after"=>"MTAwMDA1OTA5NjEyMDQ4", "before"=>"MTAwMDAwNjY0OTYyNTQ0"}}}, "picture"=>"https://fbcdn-photos-a-a.akamaihd.net/hphotos-ak-prn2/t1.0-0/1982044_670619366330232_6311457266477121189_s.jpg"} | |
25 | -{"story"=>"Participabr posted a link to F\303\263rum Internacional de Software Livre (FISL)'s timeline.", "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "story_tags"=>{"0"=>[{"name"=>"Participabr", "id"=>"584831918242311", "type"=>"page", "length"=>11, "offset"=>0}], "29"=>[{"name"=>"F\303\263rum Internacional de Software Livre (FISL)", "id"=>"53901836593", "type"=>"page", "length"=>44, "offset"=>29}]}, "id"=>"584831918242311_670616209663881", "created_time"=>"2014-04-10T13:12:38+0000", "type"=>"status", "updated_time"=>"2014-04-10T13:12:38+0000", "privacy"=>{"value"=>""}} | |
26 | -{"story"=>"Participabr posted a link to FNDC Democratiza\303\247\303\243o da Comunica\303\247\303\243o's timeline.", "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "story_tags"=>{"0"=>[{"name"=>"Participabr", "id"=>"584831918242311", "type"=>"page", "length"=>11, "offset"=>0}], "29"=>[{"name"=>"FNDC Democratiza\303\247\303\243o da Comunica\303\247\303\243o", "id"=>"645544058821361", "type"=>"page", "length"=>34, "offset"=>29}]}, "id"=>"584831918242311_670616169663885", "created_time"=>"2014-04-10T13:12:29+0000", "type"=>"status", "updated_time"=>"2014-04-10T13:12:29+0000", "privacy"=>{"value"=>""}} | |
27 | -{"story"=>"\"Hoje sai a programa\303\247\303\243o completa com os debatedores da #ArenaNETMundial! Logo mais compartilharemos em nossa p\303\241gina e aqui no face! Um time de peso e antenado com as principais quest\303\265es sobre governan\303\247a da internet, desafios no Brasil e as novas formas de participa\303\247\303\243o pol\303\255tica que emergem com a internet! Contamos com ajuda para divulgar! http://www.participa.br/arena/arena-net-mundial/dialogos\n\" on CISL's timeline.", "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "story_tags"=>{"402"=>[{"name"=>"CISL", "id"=>"432297343526878", "type"=>"page", "length"=>4, "offset"=>402}]}, "id"=>"584831918242311_670616156330553", "created_time"=>"2014-04-10T13:12:27+0000", "type"=>"status", "updated_time"=>"2014-04-10T13:12:27+0000", "privacy"=>{"value"=>""}, "status_type"=>"wall_post"} | |
28 | -{"story"=>"Participabr posted a link to CISL's timeline.", "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "story_tags"=>{"0"=>[{"name"=>"Participabr", "id"=>"584831918242311", "type"=>"page", "length"=>11, "offset"=>0}], "29"=>[{"name"=>"CISL", "id"=>"432297343526878", "type"=>"page", "length"=>4, "offset"=>29}]}, "id"=>"584831918242311_670616082997227", "created_time"=>"2014-04-10T13:12:05+0000", "type"=>"status", "updated_time"=>"2014-04-10T13:12:05+0000", "privacy"=>{"value"=>""}} | |
29 | -{"story"=>"Participabr posted a link to Intervozes's timeline.", "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "story_tags"=>{"0"=>[{"name"=>"Participabr", "id"=>"584831918242311", "type"=>"page", "length"=>11, "offset"=>0}], "29"=>[{"name"=>"Intervozes", "id"=>"266806120012638", "type"=>"page", "length"=>10, "offset"=>29}]}, "id"=>"584831918242311_670616066330562", "created_time"=>"2014-04-10T13:12:00+0000", "type"=>"status", "updated_time"=>"2014-04-10T13:12:00+0000", "privacy"=>{"value"=>""}} | |
30 | -{"story"=>"Participabr posted a link to Open Government Partnership's timeline.", "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "story_tags"=>{"0"=>[{"name"=>"Participabr", "id"=>"584831918242311", "type"=>"page", "length"=>11, "offset"=>0}], "29"=>[{"name"=>"Open Government Partnership", "id"=>"194822890570242", "type"=>"page", "length"=>27, "offset"=>29}]}, "id"=>"584831918242311_670616046330564", "created_time"=>"2014-04-10T13:11:58+0000", "type"=>"status", "updated_time"=>"2014-04-10T13:11:58+0000", "privacy"=>{"value"=>""}} | |
31 | -{"story"=>"\"Hoje sai a programa\303\247\303\243o completa com os debatedores da #ArenaNETMundial! Logo mais compartilharemos em nossa p\303\241gina e aqui no face! Um time de peso e antenado com as principais quest\303\265es sobre governan\303\247a da internet, desafios no Brasil e as novas formas de participa\303\247\303\243o pol\303\255tica que emergem com a internet! Contamos com ajuda para divulgar! http://www.participa.br/arena/arena-net-mundial/dialogos\" on Gabinete Digital's timeline.", "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "story_tags"=>{"401"=>[{"name"=>"Gabinete Digital", "id"=>"175059972609953", "type"=>"page", "length"=>16, "offset"=>401}]}, "id"=>"584831918242311_670615772997258", "created_time"=>"2014-04-10T13:11:00+0000", "type"=>"status", "updated_time"=>"2014-04-10T13:11:00+0000", "privacy"=>{"value"=>""}, "status_type"=>"wall_post"} | |
32 | -{"story"=>"\"Hoje sai a programa\303\247\303\243o completa com os debatedores da #ArenaNETMundial! Logo mais compartilharemos em nossa p\303\241gina e aqui no face! Um time de peso e antenado com as principais quest\303\265es sobre governan\303\247a da internet, desafios no Brasil e as novas formas de participa\303\247\303\243o pol\303\255tica que emergem com a internet! Contamos com ajuda para divulgar! http://www.participa.br/arena/arena-net-mundial/dialogos\" on Participat\303\263rio's timeline.", "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "story_tags"=>{"401"=>[{"name"=>"Participat\303\263rio", "id"=>"493847487360819", "type"=>"page", "length"=>14, "offset"=>401}]}, "id"=>"584831918242311_670615199663982", "created_time"=>"2014-04-10T13:10:06+0000", "type"=>"status", "updated_time"=>"2014-04-10T13:10:06+0000", "privacy"=>{"value"=>""}, "status_type"=>"wall_post"} | |
33 | -{"story"=>"\"Hoje sai a programa\303\247\303\243o completa com os debatedores da #ArenaNETMundial! Logo mais compartilharemos em nossa p\303\241gina e aqui no face! Um time de peso e antenado com as principais quest\303\265es sobre governan\303\247a da internet, desafios no Brasil e as novas formas de participa\303\247\303\243o pol\303\255tica que emergem com a internet! Contamos com ajuda para divulgar! http://www.participa.br/arena/arena-net-mundial/dialogos\" on Meu Rio's timeline.", "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "story_tags"=>{"401"=>[{"name"=>"Meu Rio", "id"=>"241897672509479", "type"=>"page", "length"=>7, "offset"=>401}]}, "id"=>"584831918242311_670615149663987", "created_time"=>"2014-04-10T13:09:55+0000", "type"=>"status", "updated_time"=>"2014-04-10T13:09:55+0000", "privacy"=>{"value"=>""}, "status_type"=>"wall_post"} | |
34 | -{"shares"=>{"count"=>18}, "actions"=>[{"name"=>"Comment", "link"=>"https://www.facebook.com/584831918242311/posts/670609036331265"}, {"name"=>"Like", "link"=>"https://www.facebook.com/584831918242311/posts/670609036331265"}], "name"=>"Dilma anunciar\303\241 \342\200\230Marco Civil mundial\342\200\231 em evento na capital paulista", "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "application"=>{"name"=>"Links", "id"=>"2309869772"}, "icon"=>"https://fbstatic-a.akamaihd.net/rsrc.php/v2/yD/r/aS8ecmYRys0.gif", "id"=>"584831918242311_670609036331265", "created_time"=>"2014-04-10T12:47:11+0000", "type"=>"link", "caption"=>"blogs.estadao.com.br", "updated_time"=>"2014-04-10T12:47:11+0000", "privacy"=>{"value"=>""}, "description"=>"Presidente abrir\303\241 o NETmundial, evento internacional de governan\303\247a da internet, com o an\303\272ncio do texto que contar\303\241 com princ\303\255pios da internet", "link"=>"http://blogs.estadao.com.br/link/dilma-anunciara-marco-civil-mundial-em-evento-na-capital-paulista/", "status_type"=>"shared_story", "message"=>"Texto que ir\303\241 para a NETmundial, que acontece em S\303\243o Paulo neste m\303\252s, foi vazado pelo Wikileaks e d\303\241 princ\303\255pios para governan\303\247a e uso da internet\n\nJ\303\241 confirmou presen\303\247a no evento? Ent\303\243o n\303\243o perca tempo! http://bit.ly/ArenaNETmundial", "likes"=>{"data"=>[{"name"=>"Robson B. Sampaio", "id"=>"100000664962544"}, {"name"=>"Luiz Augusto Lisb\303\264a", "id"=>"100002956996510"}, {"name"=>"Celia Maria Rodrigues Silva", "id"=>"100001451747299"}, {"name"=>"Vinicius Russo", "id"=>"1058306283"}, {"name"=>"Uir\303\241 Por\303\243 Maia Do Carmo", "id"=>"582803802"}, {"name"=>"Marcelo Branco", "id"=>"1260145727"}, {"name"=>"Laura De Castro", "id"=>"662017885"}, {"name"=>"Janaina Spode", "id"=>"579251019"}, {"name"=>"Lorac Mustaine", "id"=>"1083326546"}, {"name"=>"Adriana Martorano Comunica\303\247\303\243o", "id"=>"453793871359065"}, {"name"=>"Rosely Arantes", "id"=>"100002116761841"}, {"name"=>"Alex Garcia", "id"=>"100001852385999"}, {"name"=>"Daniel Astone", "id"=>"100000127763008"}, {"name"=>"Carlos Lobo", "id"=>"763893285"}, {"name"=>"Henrique Parra Parra Filho", "id"=>"100000747904691"}, {"name"=>"Myrian Conor", "id"=>"100000262033394"}, {"name"=>"Natascha Castro", "id"=>"1792307671"}], "paging"=>{"cursors"=>{"after"=>"MTc5MjMwNzY3MQ==", "before"=>"MTAwMDAwNjY0OTYyNTQ0"}}}, "picture"=>"https://fbexternal-a.akamaihd.net/safe_image.php?d=AQBeW57V3bbvkwYZ&w=154&h=154&url=http%3A%2F%2Fblogs.estadao.com.br%2Flink%2Ffiles%2F2014%2F02%2FDilma630.jpg"} | |
35 | -{"story"=>"\";) Agora \303\251 a hora de...\" on their own photo.", "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "application"=>{"name"=>"Photos", "id"=>"2305272732"}, "id"=>"584831918242311_670606639664838", "created_time"=>"2014-04-10T12:38:21+0000", "type"=>"status", "updated_time"=>"2014-04-10T12:38:21+0000", "privacy"=>{"value"=>""}} | |
36 | -{"story"=>"Participabr likes a photo.", "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "story_tags"=>{"0"=>[{"name"=>"Participabr", "id"=>"584831918242311", "type"=>"page", "length"=>11, "offset"=>0}]}, "id"=>"584831918242311_670606496331519", "created_time"=>"2014-04-10T12:37:45+0000", "type"=>"status", "updated_time"=>"2014-04-10T12:37:45+0000", "privacy"=>{"value"=>""}} | |
37 | -{"shares"=>{"count"=>4}, "actions"=>[{"name"=>"Comment", "link"=>"https://www.facebook.com/584831918242311/posts/670587879666714"}, {"name"=>"Like", "link"=>"https://www.facebook.com/584831918242311/posts/670587879666714"}], "comments"=>{"data"=>[{"like_count"=>1, "user_likes"=>false, "can_remove"=>false, "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "id"=>"670251893033646_2154947", "created_time"=>"2014-04-10T12:38:21+0000", "message"=>";) Agora \303\251 a hora de aproveitarmos os bons ventos e impulsionar uma #Arena transformadora!!"}], "paging"=>{"cursors"=>{"after"=>"MQ==", "before"=>"MQ=="}}}, "from"=>{"name"=>"Participabr", "category"=>"Community", "id"=>"584831918242311"}, "icon"=>"https://fbstatic-a.akamaihd.net/rsrc.php/v2/yz/r/StEh3RhPvjk.gif", "id"=>"584831918242311_670587879666714", "created_time"=>"2014-04-10T11:30:00+0000", "type"=>"photo", "updated_time"=>"2014-04-10T12:38:21+0000", "privacy"=>{"value"=>""}, "link"=>"https://www.facebook.com/photo.php?fbid=670251893033646&set=a.611370448921791.1073741828.584831918242311&type=1&relevant_count=1", "object_id"=>"670251893033646", "status_type"=>"added_photos", "message"=>"BOM DIA pra voc\303\252 que nos acompanha! \n\nO futuro da INTERNET est\303\241 em nossas m\303\243os e \303\251 nossa responsabilidade lutar por uma rede LIVRE, COLABORATIVA e PLURAL! \n\nVenha debater a governan\303\247a da rede e vamos, juntos, construir a internet que queremos! \n\nConfirma presen\303\247a l\303\241! http://bit.ly/ArenaNETmundial\n\n#ArenaNETmundial #ParticipaBR", "likes"=>{"data"=>[{"name"=>"Murutinga Abaetetuba Murutinga", "id"=>"100008004282653"}, {"name"=>"Robson B. Sampaio", "id"=>"100000664962544"}, {"name"=>"Elly Marlley", "id"=>"100005663351771"}, {"name"=>"Nanda Barreto", "id"=>"100000525584317"}, {"name"=>"Maria Eug\303\252nia Mour\303\243o", "id"=>"1588972379"}, {"name"=>"Rosely Arantes", "id"=>"100002116761841"}, {"name"=>"Adriana Martorano Comunica\303\247\303\243o", "id"=>"453793871359065"}, {"name"=>"Janaina Spode", "id"=>"579251019"}, {"name"=>"Alexandra Peixoto", "id"=>"749059638"}, {"name"=>"Participabr", "id"=>"584831918242311"}, {"name"=>"Natascha Castro", "id"=>"1792307671"}, {"name"=>"Myrian Conor", "id"=>"100000262033394"}, {"name"=>"Henrique Parra Parra Filho", "id"=>"100000747904691"}, {"name"=>"Fernando Silva Soares Silva", "id"=>"1578450483"}], "paging"=>{"cursors"=>{"after"=>"MTU3ODQ1MDQ4Mw==", "before"=>"MTAwMDA4MDA0MjgyNjUz"}}}, "picture"=>"https://fbcdn-photos-h-a.akamaihd.net/hphotos-ak-prn1/t1.0-0/10175049_670251893033646_3173567516434002075_s.jpg"} |
plugins/community_hub/public/style.css
... | ... | @@ -121,7 +121,6 @@ |
121 | 121 | |
122 | 122 | .hub .mediation-bar ul li.pin { |
123 | 123 | height: 25px; |
124 | - /*margin-right: 15px;*/ | |
125 | 124 | } |
126 | 125 | |
127 | 126 | .hub .remove{} |
... | ... | @@ -177,38 +176,25 @@ |
177 | 176 | height: 500px; |
178 | 177 | overflow-x: hidden; |
179 | 178 | overflow-y: scroll; |
180 | - margin-top: -1px; | |
181 | 179 | margin-bottom: 14px; |
182 | 180 | border: 1px solid lightgray; |
183 | - /*border-bottom: 1px solid lightgray; | |
184 | - border-left: 1px solid lightgray;*/ | |
185 | - /*display: inline-block;*/ | |
186 | 181 | width: 100%; |
182 | + display: inline-block; | |
183 | + margin-top: 0; | |
187 | 184 | } |
188 | 185 | |
189 | 186 | .hub ul#live-posts, .hub ul#mediation-posts{ |
190 | - /*border-width: 0 1px 1px;*/ | |
191 | - /*border-style: solid;*/ | |
192 | - /*border-color: lightGray;*/ | |
193 | 187 | border-bottom: 1px solid lightgray; |
194 | 188 | padding-top: 10px; |
195 | - /*clear: both;*/ | |
196 | - /*height: 475px;*/ | |
197 | - /*overflow-y: scroll;*/ | |
198 | - | |
199 | 189 | } |
200 | 190 | |
201 | 191 | /*modificação da scroll bar*/ |
202 | -.hub div.envelope::-webkit-scrollbar-button /*, | |
203 | -.hub ul#live-posts::-webkit-scrollbar-button, | |
204 | -.hub ul#mediation-posts::-webkit-scrollbar-button */ { | |
192 | +.hub div.envelope::-webkit-scrollbar-button { | |
205 | 193 | height: 0; |
206 | 194 | width: 0; |
207 | 195 | } |
208 | 196 | |
209 | -.hub div.envelope::-webkit-scrollbar-thumb /*, | |
210 | -.hub ul#live-posts::-webkit-scrollbar-thumb, | |
211 | -.hub ul#mediation-posts::-webkit-scrollbar-thumb */ { | |
197 | +.hub div.envelope::-webkit-scrollbar-thumb { | |
212 | 198 | background-clip: padding-box; |
213 | 199 | background-color: rgba(0,0,0,.3); |
214 | 200 | border: 5px solid transparent; |
... | ... | @@ -219,9 +205,7 @@ |
219 | 205 | width: 5px; |
220 | 206 | } |
221 | 207 | |
222 | -.hub div.envelope::-webkit-scrollbar /*, | |
223 | -.hub ul#live-posts::-webkit-scrollbar, | |
224 | -.hub ul#mediation-posts::-webkit-scrollbar */ { | |
208 | +.hub div.envelope::-webkit-scrollbar { | |
225 | 209 | height: 15px; |
226 | 210 | width: 15px; |
227 | 211 | } |
... | ... | @@ -241,7 +225,6 @@ |
241 | 225 | /*novos elementos: h1.live - h1.mediation*/ |
242 | 226 | #content .main-block .hub .live h1.live, |
243 | 227 | #content .main-block .hub .mediation h1.mediation { |
244 | - /*background-color: #f4f4f4;*/ | |
245 | 228 | border: 1px solid lightGray; |
246 | 229 | border-top: 1px solid #96110D; |
247 | 230 | border-bottom: 0px solid #FFFFFF; |
... | ... | @@ -284,7 +267,7 @@ z-index: 99; |
284 | 267 | margin-top: 8px; |
285 | 268 | line-height: 27px; |
286 | 269 | cursor: pointer; |
287 | - | |
270 | + top: 1px; | |
288 | 271 | } |
289 | 272 | |
290 | 273 | #content .main-block .hub .live h1.mediation {} |
... | ... | @@ -292,7 +275,6 @@ z-index: 99; |
292 | 275 | #content .main-block .hub .mediation h1.live { |
293 | 276 | margin-left: 20px; |
294 | 277 | top:1px; |
295 | - /*border-bottom: 0px;*/ | |
296 | 278 | } |
297 | 279 | |
298 | 280 | |
... | ... | @@ -303,7 +285,7 @@ z-index: 99; |
303 | 285 | color: #D71410; |
304 | 286 | display: inline-block; |
305 | 287 | font-size: 14px; |
306 | - font-family: /*Arial Black, */arial, sans-serif; | |
288 | + font-family: arial, sans-serif; | |
307 | 289 | padding-right: 0; |
308 | 290 | width: 70%; |
309 | 291 | } |
... | ... | @@ -316,7 +298,6 @@ z-index: 99; |
316 | 298 | font-weight: bold; |
317 | 299 | padding: 0 0.5em; |
318 | 300 | text-align: center; |
319 | - /*text-transform: uppercase;*/ | |
320 | 301 | vertical-align: top; |
321 | 302 | width: 20%; |
322 | 303 | |
... | ... | @@ -370,7 +351,6 @@ z-index: 99; |
370 | 351 | /****aba live aberta****/ |
371 | 352 | |
372 | 353 | .hub .live.show { |
373 | - /*width: 85%;*/ | |
374 | 354 | width: 100%; |
375 | 355 | } |
376 | 356 | |
... | ... | @@ -400,7 +380,6 @@ margin-right: 10px; |
400 | 380 | } |
401 | 381 | |
402 | 382 | #content .main-block .hub .mediation h1{ |
403 | - /* background-color: #ed8e01;*/ | |
404 | 383 | border: 1px solid lightGray |
405 | 384 | } |
406 | 385 | |
... | ... | @@ -410,7 +389,6 @@ margin-right: 10px; |
410 | 389 | font-size: 14px; |
411 | 390 | font-family: Arial, sans-serif; |
412 | 391 | padding-right: 0; |
413 | - /* width: 100%;*/ | |
414 | 392 | } |
415 | 393 | .hub .mediation .expand { |
416 | 394 | float: right; |
... | ... | @@ -430,20 +408,13 @@ margin-right: 10px; |
430 | 408 | } |
431 | 409 | |
432 | 410 | #content .main-block .hub .mediation.hide h1{ |
433 | -/* | |
434 | - background-color: #ed8e01; | |
435 | - border: 1px solid lightGray; | |
436 | - text-align: center; | |
437 | - padding-left: 0; | |
438 | -*/ | |
439 | 411 | cursor: pointer; |
440 | 412 | } |
441 | 413 | |
442 | 414 | #content .hub .mediation.hide .title { |
443 | -/* color: white;*/ | |
444 | 415 | display: inline-block; |
445 | 416 | font-size: 14px; |
446 | - font-family: /*Arial Black, */arial, sans-serif; | |
417 | + font-family: arial, sans-serif; | |
447 | 418 | padding-right: 0; |
448 | 419 | width: 100%; |
449 | 420 | } |
... | ... | @@ -472,50 +443,13 @@ display: none; |
472 | 443 | /****aba mediation aberta****/ |
473 | 444 | |
474 | 445 | .hub .mediation.show { |
475 | -/* border: 0px solid lightGray; | |
476 | - display: inline-block; | |
477 | - clear: right; | |
478 | - float: none; | |
479 | - margin-left: 1%; | |
480 | - margin-bottom: 2em; | |
481 | -*/ | |
482 | - /*width: 85%;*/ | |
483 | 446 | width: 100%; |
484 | 447 | } |
485 | 448 | |
486 | -#content .main-block .hub .mediation.show h1{ | |
487 | -/* background-color: #ed8e01;*/ | |
488 | -/* border: 1px solid lightGray*/ | |
489 | -} | |
490 | - | |
491 | 449 | #content .hub .mediation.show .title { |
492 | - /*color: white;*/ | |
493 | 450 | display: inline-block; |
494 | -/* font-size: 20px;*/ | |
495 | - font-family: /*Arial Black, */arial, sans-serif; | |
451 | + font-family: arial, sans-serif; | |
496 | 452 | padding-right: 0; |
497 | -/* width: 60%;*/ | |
498 | -} | |
499 | - | |
500 | -/* | |
501 | -.hub .mediation.show .expand { | |
502 | - float: right; | |
503 | - padding-right: 1em; | |
504 | - display: block; | |
505 | -}*/ | |
506 | - | |
507 | - | |
508 | -.hub .mediation.show ul#mediation-posts { | |
509 | -/* | |
510 | - height: 500px; | |
511 | - overflow-x: hidden; | |
512 | - overflow-y: scroll; | |
513 | - border-width: 0 1px 1px; | |
514 | - border-style: solid; | |
515 | - border-color: lightGray; | |
516 | - padding-top: 10px; | |
517 | - background-color: #f9f9f9; | |
518 | -*/ | |
519 | 453 | } |
520 | 454 | |
521 | 455 | .hub .mediation.show ul#mediation-posts li{ |
... | ... | @@ -537,11 +471,8 @@ display: none; |
537 | 471 | } |
538 | 472 | |
539 | 473 | .hub .form-mediation { |
540 | - /*width: 93%;*/ | |
541 | - /*width: 426px;*/ | |
542 | 474 | width: 60%; |
543 | 475 | display: inline-block; |
544 | - /*height: 376px;*/ | |
545 | 476 | padding: 10px; |
546 | 477 | border: 1px solid #c0c0c0; |
547 | 478 | overflow-x: hidden; |
... | ... | @@ -555,10 +486,6 @@ display: none; |
555 | 486 | |
556 | 487 | |
557 | 488 | .hub div.settings { |
558 | - /*width: 96%;*/ | |
559 | - /*margin-top: 10px;*/ | |
560 | - /*margin-left: 10px;*/ | |
561 | - /*width: 240px;*/ | |
562 | 489 | display: inline-block; |
563 | 490 | margin-left: 1%; |
564 | 491 | margin-top: 10px; |
... | ... | @@ -631,7 +558,7 @@ textarea#message_body { |
631 | 558 | margin-left: 80px; |
632 | 559 | } |
633 | 560 | |
634 | -.comment-count { | |
561 | +.post .comment-count { | |
635 | 562 | margin-left: 80px; |
636 | 563 | padding: 5px 10px; |
637 | 564 | background-color: white; | ... | ... |
plugins/community_hub/twitter/stream.rb
... | ... | @@ -2,6 +2,13 @@ require 'rubygems' |
2 | 2 | require 'twitter' |
3 | 3 | require 'iconv' |
4 | 4 | |
5 | +#disable address resolv to avoid problems with proxy | |
6 | +class Resolv | |
7 | + def self.getaddress(host) | |
8 | + host | |
9 | + end | |
10 | +end | |
11 | + | |
5 | 12 | #Filters non-UTF8 octets |
6 | 13 | def UTF8Filter(string) |
7 | 14 | ic = Iconv.new('UTF-8//IGNORE', 'UTF-8') |
... | ... | @@ -57,7 +64,6 @@ def listen_twitter_stream(hub, author_id) |
57 | 64 | rescue => e |
58 | 65 | puts "Error reading twitter stream #{e.inspect}" |
59 | 66 | sleep (10 + 2 ** tries) |
60 | - break | |
61 | 67 | end |
62 | 68 | end |
63 | 69 | end | ... | ... |
plugins/community_hub/views/cms/community_hub_plugin/_hub.html.erb
1 | 1 | <div class='hub'> |
2 | - <h1><%= _("HUB Settings:") %></h1> | |
2 | + <h1><%= _("HUB Settings:") %></h1> | |
3 | 3 | <%= required_fields_message %> |
4 | 4 | <div> |
5 | 5 | <%= required labelled_form_field(_('Title'), text_field(:article, 'name', :size => '64', :maxlength => 150)) %> |
... | ... | @@ -8,28 +8,38 @@ |
8 | 8 | <%= required labelled_form_field(_('Description'), text_area(:article, 'body', :style => 'width: 99%;')) %> |
9 | 9 | </div> |
10 | 10 | <br /> |
11 | - | |
12 | - <div> | |
13 | - <%= _('General Streaming Settings:') %> | |
14 | - </div> | |
15 | - <br /> | |
16 | 11 | <div> |
17 | - <%= _('Twitter Settings:') %> | |
12 | + <h2><%= _('Twitter Settings:') %></h2> | |
18 | 13 | </div> |
19 | 14 | <br /> |
20 | 15 | <%= check_box(:article, :twitter_enabled) %> <span><%= _("Turn on TWITTER") %></span> |
21 | - <br /><br /> | |
22 | - <span><%= required labelled_form_field(_('Twitter\'s Hashtags, comma separated words<br>(example: participa.br,participabr,arenanetmundial,netmundial'), text_field(:article, :twitter_hashtags)) %></span> | |
23 | 16 | <br /> |
17 | + <span><%= labelled_form_field(_('Twitter\'s Hashtags, comma separated words<br>(example: participa.br,participabr,arenanetmundial,netmundial'), text_field(:article, :twitter_hashtags)) %></span> | |
18 | + <div> | |
19 | + <%= labelled_form_field(_('Twitter\'s consumer key'), text_field(:article, :twitter_consumer_key)) %> | |
20 | + </div> | |
21 | + | |
22 | + <div> | |
23 | + <%= labelled_form_field(_('Twitter\'s consumer secret'), text_field(:article, :twitter_consumer_secret)) %> | |
24 | + </div> | |
25 | + | |
26 | + <div> | |
27 | + <%= labelled_form_field(_('Twitter\'s access token'), text_field(:article, :twitter_access_token)) %> | |
28 | + </div> | |
29 | + | |
30 | + <div> | |
31 | + <%= labelled_form_field(_('Twitter\'s access token secret'), text_field(:article, :twitter_access_token_secret)) %> | |
32 | + </div> | |
33 | + <br /> | |
24 | 34 | <div> |
25 | - <%= _('Facebook Settings:') %> | |
35 | + <h2><%= _('Facebook Settings:') %></h2> | |
26 | 36 | </div> |
27 | 37 | <br /> |
28 | 38 | <%= check_box(:article, :facebook_enabled) %> <span><%= _("Turn on FACEBOOK") %></span> |
29 | 39 | <br /><br /> |
30 | - <span><%= required labelled_form_field(_('Facebooks hashtag (example: #participabr)'), text_field(:article, :facebook_hashtag)) %></span> | |
40 | + <span><%= labelled_form_field(_('Facebooks hashtag (example: #participabr)'), text_field(:article, :facebook_hashtag)) %></span> | |
31 | 41 | <br /> |
32 | - <span><%= required labelled_form_field(_('Facebooks access token'), text_field(:article, :facebook_access_token)) %></span> | |
42 | + <span><%= labelled_form_field(_('Facebooks access token'), text_field(:article, :facebook_access_token)) %></span> | |
33 | 43 | <br /> |
34 | 44 | <a href='https://smashballoon.com/custom-facebook-feed/access-token/' ><%= _('How to get a new access token?') %><a> |
35 | 45 | <br /> | ... | ... |