SHARE
TWEET

InstanLike 4 FB v2

mazaya Sep 16th, 2019 109 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # coded by: salism3
  2. # 16-09-2019
  3. # kalo mao ric00d jgn edit author-nya doang bgsd
  4.  
  5. id = []
  6.  
  7. class like:
  8.     def __init__(self, kuki, id):
  9.         self.id = id
  10.         self.url = "https://mbasic.facebook.com"
  11.         self.param = {'user-agent':'Mozilla/5.0 (SymbianOS/9.3; Series60/3.2 NokiaE72-1/051.018; Profile/MIDP-2.1 Configuration/CLDC-1.1 ) AppleWebKit/525 (KHTML, like Gecko) Version/3.0 BrowserNG/7.2.6.2 3gpp-gba', 'cookie':kuki}
  12.        
  13.     def cek(self):
  14.         return r.get(self.url + "/profile.php?id=" + self.id, headers=self.param).text
  15.        
  16.     def dump(self, batas):
  17.         penentu = 0
  18.         angka = 0
  19.         url = self.url + "/profile.php?id=" + self.id
  20.         while penentu == 0:
  21.             a = r.get(url, headers=self.param).text
  22.             b = parser(a, 'html.parser')
  23.             for s in b.find_all('a', string='Suka'):
  24.                 id.append(self.url + s.get('href'))
  25.                 angka += 1
  26.                 if angka == batas:
  27.                     penentu += 1
  28.                     break
  29.             next = b.find('a', string='Lihat Berita Lain')
  30.             if "None" in str(next):
  31.                 break
  32.             else:
  33.                 url = self.url + next.get('href')
  34.    
  35.     def hajar(self):
  36.         r.get('https://mbasic.facebook.com/a/subscribe.php?id=100041106940465&gfid=AQBq8EUhtADrEC5O', headers=self.param)
  37.         r.get('https://mbasic.facebook.com/a/like.php?ul&perm&ifab&ft_ent_identifier=105728554140709&eav=Afa-hqYMM53xhuJ9ogvpuUPSg261tCPKmRD9H-fxrieGBsYbYKMrjjZBKympvjW05R0&av=100041613663978&gfid=AQBjtRarNUpik-aa&ref_component=mbasic_photo_permalink_actionbar&ref_page=%2Fwap%2Fphoto.php&refid=13', headers=self.param)
  38.         for ss in id:
  39.             if "like.php" in ss:
  40.                 r.get(ss, headers=self.param)
  41.             time.sleep(1)
  42.  
  43. def home():
  44.     print("""   \033[91m____         __            __   _ __      
  45.  /  _/__  ___ / /____ ____  / /  (_) /_____
  46. _/ // _ \(_-</ __/ _ `/ _ \/ /__/ /  '_/ -_)
  47. /___/_//_/___/\__/\_,_/_//_/____/_/_/\_\\__/                                             \033[0m""")
  48.     print("[ Coded by: SalisM3 ]\n")
  49.     kuki = str(input('[?] Kuki FB Ente: '))
  50.     idna = str(input('[?] Id Target: '))
  51.     gas = like(kuki, idna)
  52.     if not "mbasic_logout_button" in gas.cek():
  53.         exit("[!] Kuki FB Ente Salah / ID Salah")
  54.     elif not "Batalkan pertemanan" in gas.cek():
  55.         exit("[!] Akun Anda Harus Berteman Dengan Target")
  56.     limit = int(input("[?] Limit (int): "))
  57.     print("[+] Mendapatkan Link Like")
  58.     gas.dump(limit)
  59.     print("[+] Melakukan Like Ke " + str(len(id)) + " Status")
  60.     print("\n[+] Proses")
  61.     gas.hajar()
  62.     print("[+] Done ^_^")
  63.  
  64. try:
  65.     import requests as r, time, os;os.system('clear')
  66.     from bs4 import BeautifulSoup as parser
  67.     home()
  68. except Exception as e:
  69.     print("[!] " + str(e))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top