Thursday, July 23, 2015

Declare your love by management and be entered to win a Kindle! – News – Daily life – Administradores.com – Administrators

‘; str + = ‘
‘; str + = ‘

‘ + u ['first_name'] + ‘is read ‘ + time + ‘

‘; + str = ”; str + = ‘

‘; + str = ”; if (i == 4) {break; }} Str + = ‘

‘; . $ (‘# Widget-socialreader .body’) html (str); } Else {$ (‘# widget-socialreader .body’) html (‘

There are readings of his friends still

.’); }}); } Post: function (url) {if (.cookie $ (‘socialreader’) = ‘no’) {FB.api (‘/me/news.reads’, ‘post’, {article: url}, function (response) {if (|| response.error response) {console.log (“Error:” + response.error);} else {console.log (‘Article read was successful Action ID:’ + response.id );}}); }}, Activate: function (opt) {$ .cookie (‘socialreader’ opt, {path: ‘/’, expires: 1000}); if ($ .cookie (‘socialreader’) == ‘no’) {$ (‘# widget-socialreader .footer .btn-toolbar .in’) addClass (‘active.’); $ (‘# Widget-socialreader .footer .btn-toolbar .in’) addClass (‘btn-danger.’); $ (‘# Widget-socialreader .footer .btn-toolbar .yes’) removeClass (‘active.’); $ (‘# Widget-socialreader .footer .btn-toolbar .yes’) removeClass (‘btn-success.’); } Else {$ (‘# widget-socialreader .footer .btn-toolbar .in’) removeClass (‘active.’); $ (‘# Widget-socialreader .footer .btn-toolbar .in’) removeClass (‘btn-danger.’); $ (‘# Widget-socialreader .footer .btn-toolbar .yes’) addClass (‘active.’); $ (‘# Widget-socialreader .footer .btn-toolbar .yes’) addClass (‘btn-success.’); }}, RemoveApp:. Function () {$ (‘# widget-socialreader’) addClass (‘hide’); FB.api (“/ me / permissions”, “DELETE”, function (response) {}); }, MyReads: function () {$ (‘#-modal socialreader’) modal (‘show’);. $ (‘#-Modal socialreader .modal-body’) html (“Loading …. ‘); FB.api (‘news.reads / article date_format = U & amp; ids =’ + SocialReader.profile.id, ‘GET’, function (response) {var reads = response [SocialReader.profile.id] ['data'] ; if (reads.length & gt; 0) {var str = ”; $ (‘modal-socialreader # .modal-body’) html (str);.} else {$ (‘modal-socialreader # .modal-body ‘) article (‘

There readings

‘);}}); }, DeleteRead: function (id) {FB.api (‘/’ + id, ‘DELETE’, function (response) {console.log (response); $ (‘#post -’ + id) .remove (); }); } Log: function () {FB.login (function (response) {if (response.authResponse) {FB.api (‘/ me’, function (response) {SocialReader.profile = response; FB.api (‘/ me / permissions’, function (response) {var granted = false; if (response & amp; & amp; response ['data']) {for (var i = 0; i

LikeTweet

No comments:

Post a Comment