{"id":84,"date":"2015-04-15T14:40:20","date_gmt":"2015-04-15T14:40:20","guid":{"rendered":"http:\/\/www.sir-drone.com\/?page_id=84"},"modified":"2015-05-10T23:46:17","modified_gmt":"2015-05-10T21:46:17","slug":"socialsirdrone","status":"publish","type":"page","link":"http:\/\/www.sir-drone.com\/index.php\/socialsirdrone\/","title":{"rendered":"Social"},"content":{"rendered":"<p><strong>TWITTER<\/strong><\/p>\n<!-- Flow-Flow \u2014 Social streams plugin for Wordpress -->\n<style id=\"ff-dynamic-styles-1\">\n#ff-stream-1 .ff-header h1,#ff-stream-1 .ff-controls-wrapper > span:hover { color: rgb(154, 78, 141); }\n#ff-stream-1 .ff-controls-wrapper > span:hover { border-color: rgb(154, 78, 141) !important; }\n#ff-stream-1 .ff-header h2 { color: rgb(114, 112, 114); }\n#ff-stream-1 .ff-filter-holder .ff-filter,\n#ff-stream-1 .ff-filter-holder:before,\n#ff-stream-1 .ff-loadmore-wrapper .ff-btn:hover {\n\tbackground-color: rgb(205, 205, 205);\n}\n#ff-stream-1 .ff-filter:hover,\n#ff-stream-1 .ff-loadmore-wrapper .ff-btn,\n#ff-stream-1 .ff-square:nth-child(1) {\n\tbackground-color: rgb(154, 78, 141);\n}\n#ff-stream-1 .ff-filter-holder .ff-search input {\n\tborder-color: rgb(205, 205, 205);\n}\n#ff-stream-1 .ff-filter-holder .ff-search:after {\n\tcolor: rgb(205, 205, 205);\n}\n#ff-stream-1,\n#ff-stream-1 .ff-search input,\n#ff-stream-1.ff-layout-compact .picture-item__inner {\n\tbackground-color: rgb(255, 255, 255);\n}\n#ff-stream-1 .ff-header h1, #ff-stream-1 .ff-header h2 {\n\ttext-align: center;\n}\n#ff-stream-1 .ff-controls-wrapper, #ff-stream-1 .ff-controls-wrapper > span {\n\tborder-color: rgb(205, 205, 205);\n}\n#ff-stream-1 .ff-controls-wrapper, #ff-stream-1 .ff-controls-wrapper > span {\n\tcolor: rgb(205, 205, 205);\n}\n#ff-stream-1 .ff-item, #ff-stream-1 .shuffle__sizer{\n\twidth:  260px;\n}\n#ff-stream-1 .ff-item {\n\tmargin-bottom: 20px !important;\n}\n#ff-stream-1 .shuffle__sizer {\n\tmargin-left: 20px !important;\n}\n#ff-stream-1 .picture-item__inner {\n\tbackground: rgb(64, 68, 71);\n\tcolor: rgb(255, 255, 255);\n}\n#ff-stream-1, #ff-stream-1 h4,\n#ff-stream-1-slideshow, #ff-stream-1-slideshow h4  {\n\tcolor: rgb(255, 255, 255);\n}\n#ff-stream-1 li,\n#ff-stream-1-slideshow li,\n#ff-stream-1 .ff-square {\n\tbackground: rgb(64, 68, 71);\n}\n#ff-stream-1 .ff-share-wrapper a:after,\n#ff-stream-1 .ff-mob-link:after,\n#ff-stream-1-slideshow .ff-share-wrapper a:after {\n\tcolor: rgb(64, 68, 71);\n}\n#ff-stream-1 .ff-share-wrapper a,\n#ff-stream-1 .ff-mob-link,\n#ff-stream-1-slideshow .ff-share-wrapper a {\n\tbackground-color: rgb(255, 255, 255);\n}\n#ff-stream-1 a,\n#ff-stream-1-slideshow a {\n\tcolor: rgb(94, 191, 255);\n}\n#ff-stream-1 .ff-name,\n#ff-stream-1-slideshow .ff-name {\n\tcolor: rgb(94, 191, 255) !important;\n}\n#ff-stream-1 .ff-share-wrapper a:hover,\n#ff-stream-1 .ff-mob-link:hover,\n#ff-stream-1-slideshow .ff-share-wrapper a:hover {\n\tbackground-color: rgb(94, 191, 255);\n}\n#ff-stream-1 .ff-nickname, #ff-stream-1 .ff-timestamp,\n#ff-stream-1-slideshow .ff-nickname, #ff-stream-1-slideshow .ff-timestamp {\n\tcolor: rgb(175, 195, 208) !important;\n}\n#ff-stream-1 .ff-theme-flat h4,\n#ff-stream-1 .ff-theme-flat .ff-content,\n#ff-stream-1 .ff-item-meta,\n#ff-stream-1-slideshow .ff-item-meta {\n\tborder-color: rgba(255, 255, 255, 0.4);\n}\n#ff-stream-1 .ff-item {\n\ttext-align: center;\n}\n#ff-stream-1 .ff-style-1 .ff-no-image  .ff-item-cont:before,\n#ff-stream-1 .ff-style-3 .ff-item-cont:before{\n\tbackground: rgb(44, 45, 46);\n}\n<\/style>\n<div class=\"ff-stream\" id=\"ff-stream-1\"><span class=\"ff-loader\"><span class=\"ff-square\" ><\/span><span class=\"ff-square\"><\/span><span class=\"ff-square ff-last\"><\/span><span class=\"ff-square ff-clear\"><\/span><span class=\"ff-square\"><\/span><span class=\"ff-square ff-last\"><\/span><span class=\"ff-square ff-clear\"><\/span><span class=\"ff-square\"><\/span><span class=\"ff-square ff-last\"><\/span><\/span><\/div>\n<script type=\"text\/javascript\">\nvar _ajaxurl = 'http:\/\/www.sir-drone.com\/wp-admin\/admin-ajax.php';\n(function ( $ ) {\n\t\"use strict\";\n\tif (\/MSIE 8\/.test(navigator.userAgent)) return;\n\tvar opts = window.FlowFlowOpts;\n\tif (!opts) {\n\t\twindow.console && window.console.log('no Flow-Flow options');\n\t\treturn;\n\t}\n\tif (!window.FF_resource) {\n\t\twindow.console && window.console.log('no required script');\n\t\treturn\n\t}\n\tvar data = {\n\t\t'action': 'fetch_posts',\n\t\t'stream-id': '1',\n\t\t'disable-cache': '',\n\t\t'page': '0'};\n\tvar isMobile = \/android|blackBerry|iphone|ipad|ipod|opera mini|iemobile\/i.test(navigator.userAgent);\n\tvar streamOpts = opts['streams']['id' + data['stream-id']];\n\tvar $cont = $(\"#ff-stream-\"+data['stream-id']);\n\tvar ajaxDeferred;\n\tvar script, style;\n\tif (FF_resource.scriptDeferred.state() === 'pending' && !FF_resource.scriptLoading) {\n\t\tscript = document.createElement('script');\n\t\tscript.src = \"http:\/\/www.sir-drone.com\/wp-content\/plugins\/flow-flow\/js\/public.js\";\n\t\tscript.onload = function( script, textStatus ) {\n\t\t\tFF_resource.scriptDeferred.resolve();\n\t\t};\n\t\tdocument.body.appendChild(script);\n\t\tFF_resource.scriptLoading = true;\n\t}\n\tif (FF_resource.styleDeferred.state() === 'pending' && !FF_resource.styleLoading) {\n\t\tstyle = document.createElement('link');\n\t\tstyle.type = \"text\/css\";\n\t\tstyle.rel = \"stylesheet\";\n\t\tstyle.href = \"http:\/\/www.sir-drone.com\/wp-content\/plugins\/flow-flow\/css\/public.css\";\n\t\tstyle.media = \"screen\";\n\t\tstyle.onload = function( script, textStatus ) {\n\t\t\tFF_resource.styleDeferred.resolve();\n\t\t};\n\t\tdocument.getElementsByTagName(\"head\")[0].appendChild(style);\n\t\tFF_resource.styleLoading = true;\n\t}\n\t$cont.addClass('ff-layout-' + streamOpts.layout)\n\tif (streamOpts.layout == 'grid' && !isMobile) $cont.css('minHeight', '1000px');\n\tajaxDeferred = $.get(_ajaxurl, data);\n\t$.when( ajaxDeferred, FF_resource.scriptDeferred, FF_resource.styleDeferred ).done(function ( data ) {\n\t\tvar response, $stream;\n\t\tvar $errCont, errs, err;\n\t\tvar num = streamOpts.layout === 'compact' || (streamOpts.mobileslider === 'yep' && isMobile)? (streamOpts.mobileslider === 'yep' ? 3 : streamOpts['cards-num']) : false;\n\t\tvar w;\n\n\t\ttry {\n\t\t\tresponse = JSON.parse(data[0]);\n\t\t} catch (e) {\n\t\t\twindow.console && window.console.log('Flow-Flow gets invalid data from server');\n\t\t\tif (opts.isAdmin || opts.isLog) {\n\t\t\t\t$errCont = $('<div class=\"ff-errors\" id=\"ff-errors-invalid-response\"><div class=\"ff-disclaim\">If you see this then you\\'re administrator and Flow-Flow got invalid data from server. Please provide this info if you\\'re doing support request.<\/div><div class=\"ff-err-info\"><\/div><\/div>')\n\t\t\t\t$cont.before($errCont);\n\t\t\t\t$errCont.find('.ff-err-info').html(data[0] == '' ? 'Empty response from server' : data[0])\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\n\t\t$stream = FlowFlow.buildStreamWith(response);\n\n\t\tif (streamOpts.layout === 'compact') {\n\t\t\tw = $cont.parent().width();\n\t\t\tFlowFlow.adjustImgHeight($stream, (w > 300 ? 300 : w) - 72); \/\/ todo remove hardcode\n\t\t}\n\t\t$cont.append($stream);\n\t\tif (typeof $stream !== 'string') {\n\t\t\tFlowFlow.setupGrid($cont.find('.ff-stream-wrapper'), num, streamOpts.scrolltop === 'yep', streamOpts.gallery === 'yep', streamOpts, $cont);\n\t\t}\n\t\tsetTimeout(function(){\n\t\t\t$cont.find('.ff-header').removeClass('ff-loading').end().find('.ff-loader').addClass('ff-squeezed');\n\t\t}, 0);\n\t\tif ((opts.isAdmin || opts.isLog ) && response.errors && response.errors.length) {\n\t\t\t$errCont = $('<div class=\"ff-errors\" id=\"ff-errors-'+response.id+'\"><div class=\"ff-disclaim\">If you see this then you\\'re administrator and Flow-Flow got next errors from API. Please provide this info if you\\'re doing support request.<\/div><div class=\"ff-err-info\"><\/div><\/div>')\n\t\t\t$cont.before($errCont);\n\t\t\terrs = '', err;\n\t\t\tfor (var i = 0, len = response.errors.length;i < len; i++) {\n\t\t\t\terr = response.errors[i];\n\t\t\t\tif (typeof err === 'string') {\n\t\t\t\t\terrs += '<p>' + err + '<\/p>';\n\t\t\t\t} else if (typeof err  === 'object') {\n\t\t\t\t\tif (err['type'] && err['message']) {\n\t\t\t\t\t\terrs += '<p>From: ' + (err['type'] ? err['type'].toUpperCase() : 'Unknown') + '<br>' + err['message'] + '<\/p>';\n\t\t\t\t\t}\n\t\t\t\t  else if ($.isArray(err)) {\n\t\t\t\t\t\tfor (var j = 0, _l = err.length; j < _l; j++ ) {\n\t\t\t\t\t\t\terrs += '<p>' + err[j] + '<\/p>';\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t$errCont.find('.ff-err-info').html(errs)\n\t\t}\n\t});\n\treturn false;\n}(jQuery));\n<\/script>\n<!-- Flow-Flow \u2014 Social streams plugin for Wordpress -->\n\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>TWITTER &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/www.sir-drone.com\/index.php\/wp-json\/wp\/v2\/pages\/84"}],"collection":[{"href":"http:\/\/www.sir-drone.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.sir-drone.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.sir-drone.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sir-drone.com\/index.php\/wp-json\/wp\/v2\/comments?post=84"}],"version-history":[{"count":5,"href":"http:\/\/www.sir-drone.com\/index.php\/wp-json\/wp\/v2\/pages\/84\/revisions"}],"predecessor-version":[{"id":90,"href":"http:\/\/www.sir-drone.com\/index.php\/wp-json\/wp\/v2\/pages\/84\/revisions\/90"}],"wp:attachment":[{"href":"http:\/\/www.sir-drone.com\/index.php\/wp-json\/wp\/v2\/media?parent=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}