1 | import json,requests,time |
2 | from time import strftime |
3 | |
4 | |
5 | |
6 | import os |
7 | import json |
8 | from datetime import timezone, datetime, timedelta |
9 | import requests |
10 | from time import sleep |
11 | import threading |
12 | def shareao(): |
13 | |
14 | from time import sleep |
15 | import requests,threading,os,sys |
16 | |
17 | def clear(): |
18 | if(sys.platform.startswith('win')): |
19 | os.system('cls') |
20 | else: |
21 | os.system('clear') |
22 | def banner(): |
23 | print(f''' |
24 | |
25 | \033[1;34m╔══════════════════════════════════════════════════════════════════════╗ |
26 | \033[38;2;0;0;255m █████╗ ███████╗ ██████╗██╗██╗ \033[0m |
27 | \033[38;2;50;50;255m ██╔══██╗██╔════╝██╔════╝██║██║ \033[0m |
28 | \033[38;2;100;100;255m ███████║███████╗██║ ██║██║ \033[0m |
29 | \033[38;2;150;150;255m ██╔══██║╚════██║██║ ██║██║ \033[0m |
30 | \033[38;2;200;200;255m ██║ ██║███████║╚██████╗██║██║ \033[0m |
31 | \033[38;2;255;255;255m ╚═╝ ╚═╝╚══════╝ ╚═════╝╚═╝╚═╝ \033[0m |
32 | |
33 | \033[1;34m╠══════════════════════════════════════════════════════════════════════╣ |
34 | \033[1;32m║➢ Author : 🤖ASCII🤖 ║ |
35 | \033[1;36m║➢ Youtube : https://www.youtube.com/@ASCII303 ║ |
36 | \033[1;31m║➣ Support : t.me/Lamdayne1 ║ |
37 | \033[1;33m║➣ Group Tele Hỗ Trợ : https://t.me/asciiforest ║ |
38 | \033[1;34m╚══════════════════════════════════════════════════════════════════════╝ |
39 | |
40 | """) |
41 | print('') |
42 | clear() |
43 | banner() |
44 | |
45 | uid=input('\033[1;31m[🔥\033[1;31m] \033[1;37m=> \033[1m\033[38;5;51mNhập id fb cần Tăng: ''') |
46 | ck_fb=input('\033[1;31m[🔥\033[1;31m] \033[1;37m=> \033[1m\033[38;5;51mNhập cookies facebook: ') |
47 | |
48 | |
49 | |
50 | |
51 | |
52 | hed_gettoken = { |
53 | 'authority': 'www.instagram.com', |
54 | 'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9', |
55 | 'accept-language': 'vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5', |
56 | 'cache-control': 'no-cache', |
57 | 'cookie': ck_fb, |
58 | 'pragma': 'no-cache', |
59 | 'sec-ch-ua': '" Not A;Brand";v="99", "Chromium";v="102", "Google Chrome";v="102"', |
60 | 'sec-ch-ua-mobile': '?0', |
61 | 'sec-ch-ua-platform': '"Windows"', |
62 | 'sec-fetch-dest': 'document', |
63 | 'sec-fetch-mode': 'navigate', |
64 | 'sec-fetch-site': 'none', |
65 | 'sec-fetch-user': '?1', |
66 | 'upgrade-insecure-requests': '1', |
67 | 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.115 Safari/537.36', |
68 | } |
69 | try: |
70 | token_fb = requests.get('https://www.facebook.com/dialog/oauth?client_id=124024574287414&redirect_uri=https://www.instagram.com/accounts/signup/&&scope=email&response_type=token', headers=hed_gettoken).url.split('#access_token=')[1].split('&data_access_expiration_time')[0] |
71 | print(f'\033[1m\033[38;5;51mGet token successfully: {token_fb}') |
72 | except: |
73 | print('\033[1,31mToken get failed') |
74 | print(token_fb) |
75 | sleep(10) |
76 | |
77 | |
78 | |
79 | header={ |
80 | 'cookie': ck_fb, |
81 | } |
82 | def Start(l): |
83 | getTokenPage = requests.get(f"https://graph.facebook.com/v12.0/me/accounts?fields=access_token&limit=999999999&access_token={token_fb}",headers=header).json()['data'] |
84 | for tach in getTokenPage: |
85 | uid_page=tach['id'] |
86 | access_token_page=tach['access_token'] |
87 | |
88 | |
89 | buff = requests.post(f"https://graph.facebook.com/me/feed?link=https://www.facebook.com/{uid}&published=0&access_token={access_token_page}",headers=header).text |
90 | if "error" in buff: |
91 | print(f'\033[1m\033[38;5;237m[\033[38;5;54m*\033[38;5;237m]\033[0m \033[4m\033[38;5;164m{uid_page}\033[0m \033[1;31mFaild') |
92 | else: |
93 | print(f'\033[1m\033[38;5;237m[\033[38;5;54m*\033[38;5;237m]\033[0m \033[4m\033[38;5;164m{buff}\033[0m \033[1m\033[38;5;51mSuccess') |
94 | |
95 | |
96 | soluong = int(input('\033[1;31m[🔥\033[1;31m] \033[1;37m=> \033[1m\033[38;5;51mNhập số lượng: ')) |
97 | clear() |
98 | banner() |
99 | print('') |
100 | threades = [] |
101 | for l in range(soluong): |
102 | threades += [threading.Thread(target=Start,args={l},)] |
103 | for t in threades: |
104 | t.start() |
105 | for t in threades: |
106 | t.join() |
107 | print('\033[1;31mEnd of Running Threads') |
108 | |
109 | |
110 | |
111 | |
112 | |
113 | shareao() |