text stringlengths 0 93.6k |
|---|
try: |
os.system('clear') |
print logo |
print 52 * '\x1b[1;97m\xe2\x95\x90' |
idt = raw_input('\x1b[1;91m[+] \x1b[1;92mInput Friends ID \x1b[1;91m: \x1b[1;97m') |
try: |
jok = requests.get('https://graph.facebook.com/' + idt + '?access_token=' + toket) |
op = json.loads(jok.text) |
print '\x1b[1;91m[\x1b[1;96m\xe2\x9c\x93\x1b[1;91m] \x1b[1;92mFrom\x1b[1;91m :\x1b[1;97m ' + op['name'] |
except KeyError: |
print '\x1b[1;91m[!] Not be friends' |
raw_input('\n\x1b[1;91m[ \x1b[1;97mBack \x1b[1;91m]') |
grab() |
noms = raw_input('\x1b[1;91m[+] \x1b[1;92mSave File \x1b[1;97mext(file.txt) \x1b[1;91m: \x1b[1;97m') |
r = requests.get('https://graph.facebook.com/' + idt + '/friends?access_token=' + toket) |
a = json.loads(r.text) |
no = open(noms, 'w') |
jalan('\x1b[1;91m[\xe2\x9c\xba] \x1b[1;92mPlease wait \x1b[1;97m...') |
print 52 * '\x1b[1;97m\xe2\x95\x90' |
for i in a['data']: |
x = requests.get('https://graph.facebook.com/' + i['id'] + '?access_token=' + toket) |
z = json.loads(x.text) |
try: |
hpfromfriends.append(z['mobile_phone']) |
no.write(z['mobile_phone'] + '\n') |
print '\r\x1b[1;92mName\x1b[1;91m :\x1b[1;97m ' + z['name'] |
print '\x1b[1;92mPhone\x1b[1;91m : \x1b[1;97m' + z['mobile_phone'] |
print 52 * '\x1b[1;97m\xe2\x95\x90' |
except KeyError: |
pass |
print '\n\r\x1b[1;91m[+] \x1b[1;97mTotal number\x1b[1;96m%s' % len(hpfromfriends) |
print '\x1b[1;91m[+] \x1b[1;97mFile saved \x1b[1;91m: \x1b[1;97m' + noms |
no.close() |
raw_input('\n\x1b[1;91m[ \x1b[1;97mBack \x1b[1;91m]') |
grab() |
except IOError: |
print '\x1b[1;91m[!] Make file failed' |
raw_input('\n\x1b[1;91m[ \x1b[1;97mBack \x1b[1;91m]') |
grab() |
except (KeyboardInterrupt, EOFError): |
print '\x1b[1;91m[!] Stopped' |
raw_input('\n\x1b[1;91m[ \x1b[1;97mBack \x1b[1;91m]') |
grab() |
except requests.exceptions.ConnectionError: |
print '\x1b[1;91m[\xe2\x9c\x96] No connection' |
keluar() |
def menu_bot(): |
os.system('clear') |
try: |
toket = open('login.txt', 'r').read() |
except IOError: |
print '\x1b[1;91m[!] Token not found' |
os.system('rm -rf login.txt') |
time.sleep(1) |
login() |
os.system('clear') |
print logo |
print 52 * '\x1b[1;97m\xe2\x95\x90' |
print '║-> \x1b[1;37;40m1. Bot Reactions Target Post' |
print '║-> \x1b[1;37;40m2. Bot Reactions Group Post' |
print '║-> \x1b[1;37;40m3. Bot Comment Target Post' |
print '║-> \x1b[1;37;40m4. Bot Comment Group Post' |
print '║-> \x1b[1;37;40m5. Mass Delete Post' |
print '║-> \x1b[1;37;40m6. Accept Friend Requests' |
print '║-> \x1b[1;37;40m7. Unfriends' |
print '║-> \x1b[1;31;40m0. Back' |
print '\x1b[1;37;40m║' |
bot_pilih() |
def bot_pilih(): |
bots = raw_input('╚═\x1b[1;91m▶\x1b[1;97m ') |
if bots == '': |
print '\x1b[1;91m[!] Can\'t empty' |
bot_pilih() |
else: |
if bots == '1': |
menu_react() |
else: |
if bots == '2': |
grup_react() |
else: |
if bots == '3': |
bot_komen() |
else: |
if bots == '4': |
grup_komen() |
else: |
if bots == '5': |
deletepost() |
else: |
if bots == '6': |
accept() |
else: |
if bots == '7': |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.