Mostrando postagens com marcador Twitter. Mostrar todas as postagens
Mostrando postagens com marcador Twitter. Mostrar todas as postagens

(Outros) Gerador de Seguidores Twitter LANÇADO!

EDITADO EM AGOSTO de 2012 Ferramenta obsoleta. Não servirá mais para uso.

(Outros) Twitter Tools (atualizado 07/02/2012)

A POSTAGEM FOI ATUALIZADA DATA 12/01/2012
Para quem estava procurando por ferramentas no twitter segue alguns links:



Sources:

Agora só arrumar listas que contenham logins do twitter no formato:

LOGIN:SENHA
LOGIN:SENHA

Para conseguir senhas, pegue este meu programa que gera senhas!
http://www.brunodasilva.com.br/2012/02/outros-gerador-de-lista-de-twitters.html


Nosso bot está diariamente indexando novas páginas com estas ferramentas, então este post é atualizado periodicamente, não esqueça de nos visitar novamente
Abraços!

(PHP) twitterLogin e twitterTweet

Vendo fóruns e funções velhas do orkut consegui refazer uma função para logar no twitter e até mesmo dar tweets. Bem fácil.


Segue código:
function twitterLogin($email, $password)
{

$ch = curl_init();
curl_setopt_array($ch, Array(
CURLOPT_URL => 'https://mobile.twitter.com/session/new',
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HEADER => true)
);

$response = curl_exec($ch);
preg_match("/_mobile_sess=[^\s]+/", $response, $_mobile_sess);
preg_match("/name=\"authenticity_token\" type=\"hidden\" value=\"([^\"]+)/", $response, $authenticity_token);
curl_setopt_array($ch, Array(
CURLOPT_URL => 'https://mobile.twitter.com/session',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_COOKIE => $_mobile_sess[0],
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_POSTFIELDS => 'authenticity_token=' . $authenticity_token . '&username=' . trim(rawurlencode($email)) . '&password=' . trim(rawurlencode($password)),
CURLOPT_HEADER => true)
);

$response = curl_exec($ch);

preg_match("/k=[^\s]+/", $response, $k);
preg_match("/_mobile_sess=[^\s]+/", $response, $mobile);
preg_match("/oauth_token=[^\s]+/", $response, $oauth);
curl_close($ch);

return $k[0] . $mobile[0] . $oauth[0];
}

function twitterTweet($login, $senha, $tweet)
{
$cookies = twitterLogin($login,$senha);

$ch = curl_init();

curl_setopt_array($ch, Array(
CURLOPT_URL => 'http://mobile.twitter.com/' . $login,
CURLOPT_COOKIE => $cookies,
CURLOPT_RETURNTRANSFER => true)
);

$response = curl_exec($ch);
preg_match("/name=\"authenticity_token\" type=\"hidden\" value=\"([^\"]+)/", $response, $authenticity);
$ch = curl_init();

curl_setopt_array($ch, Array(
CURLOPT_URL => 'http://mobile.twitter.com/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_REFERER => 'mobile.twitter.com/',
CURLOPT_COOKIE => $cookies,
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_POSTFIELDS => '&tweet[text]='.$tweet.'&authenticity_token=' . $authenticity[1] . '&last_url=%2F' . rawurlencode($login))
);

preg_match('/href="([^\"]{0,500})/i', curl_exec($ch), $href);
return ($href[1]==="http://mobile.twitter.com/");
}

(JavaScript) Conta Aleatória Twitter

Este é um sistema bem simples. Você vai na página de cadastrar no twitter e cola o seguinte código na barra de endereço (apaga tudo que tem lá)


javascript:
document.getElementsByName("user[name]")[0].value = Math.floor(Math.random()* 1000000);
document.getElementsByName("user[email]")[0].value = Math.floor(Math.random()* 10000000) + "@hotmail.com";
document.getElementsByName("user[user_password]")[0].value = Math.floor(Math.random()* 10000000000);
document.getElementsByName("user[screen_name]")[0].value = Math.floor(Math.random()* 1000000000);
document.getElementById('phx-signup-form').submit();


Este código faz a identificação dos campos de texto do twitter e automaticamente coloca valores aleatórios confirmando o cadastro da conta automático.

Por Bruno da Silva