toru-fca 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,54 +1,54 @@
1
1
  # CHANGELOG — toru-fca
2
2
 
3
- ## v1.0.5 (Latest) — Full Advanced Fixed, Anti-Restriction, Smooth & Comfortable
4
-
5
- ### 🔥 New in v1.0.5
6
-
7
- #### Anti-Logout System v3 (Enhanced)
8
- - fb_dtsg auto-refresh interval: **30min20min** (more stable session)
9
- - Cookie revalidation: every **15min** background check (NEW)
10
- - `api.stopAutomationGuard()` — graceful stop added
11
- - Startup feature banner (log summary of all enabled features)
12
-
13
- #### Session Guard v2 (Improved)
14
- - Auto-save interval: **5min 4min** (faster appstate persistence)
15
- - Debounce: **30s 20s** (faster reaction to cookie changes)
16
- - `minCookieCount` config field skip save if state has too few cookies
17
-
18
- #### Smooth Mode v2
19
- - Message delay: **500ms 400ms** (faster but still human-like)
20
-
21
- #### Anti-Ban v2 (Tuned)
22
- - Human delay range: **300-1200ms 200-900ms** (faster, still safe)
23
-
24
- ####MQTT Reconnect v2 (Tuned)
25
- - Backoff range: **3s-60s 2s-45s** (faster recovery on disconnect)
26
-
27
- ####Login Retry (NEW)
28
- - Transient network error e automatically 3x retry with 5s delay
29
- - Config: `loginSafety.maxRetries`, `loginSafety.retryDelayMs`
30
-
31
- #### send.js Fix (Critical)
32
- - `ctx.mqttClient` null check added crash hobe na MQTT not ready thakte
33
-
34
- #### Inbox v2
35
- - `inbox.replyToDM` / `inbox.replyToGroup` separate config field
36
- - DM + Group dono jaigai bot reply correctly kore
37
-
38
- #### typingDuration
39
- - Default: **4000ms → 3500ms** (slightly faster typing indicator)
40
-
41
- #### Examples Updated
42
- - `basic-bot.js`: `!health`, `!help` commands, graceful final save on SIGINT
43
-
44
- ---
45
-
46
- ## v1.0.4 Ultimate Merged, Fixed & Anti-Restriction
47
- - Anti-Logout v2, Session Guard, Cookie String support, GoatBot defaults
48
- - sendTypingV2 fix, MQTT exponential backoff
49
- - Merged: toru-fca v1.0.3 · shan-fca · hridoy-fca · ws3-fca
50
-
51
- ## v1.0.3 sendTypingIndicatorV2 fix, antiBan humanDelay, cookieProtect
52
- ## v1.0.2 — Anti-Logout, Session Guard, Smooth Mode, E2EE, GoatBot defaults
53
- ## v1.0.1 — Initial merged release
54
- ## v1.0.0 — Base alpha-fca release
3
+ ## v1.0.6 (2026-09-03) — Ultimate Fixed, Advanced & Updated Release
4
+
5
+ ### Bug Fixes
6
+ - **sendTypingIndicatorV2.js** — `mqttClient` undefined bug patched (ctx.mqttClient এখন সঠিকভাবে reference হয়)
7
+ - **logout.js** Anti-logout message updated, v1.0.6 version reflect করে
8
+ - **listenMqtt.js** Banner updated: alpha-fcatoru-fca
9
+
10
+ ### Improvements (v1.0.6)
11
+ - **Anti-Logout** fb_dtsg refresh interval 30min → 20min (আরো দ্রুত session alive রাখে)
12
+ - **Session Guard** — Auto-save interval 5min → 3min, debounce 30s → 20s (দ্রুত appstate save)
13
+ - **Facebook Protection** (NEW) Anti-restriction, anti-ban, human-like delay system
14
+ - `humanLikeDelay: true` random 50-200ms micro-delay, bot traffic pattern unpredictable
15
+ - `blockAutomationDetection: true` online=false, updatePresence=false force করে
16
+ - **config.json**`facebookProtection`, `replyToInbox` option added
17
+ - **checkUpdate.js** — Version 1.0.6 এ updated
18
+ - **package.json** Version 1.0.6, description updated
19
+ - **examples/basic-bot.js** Bengali comments, stopAntiLogout() on shutdown added
20
+
21
+ ### What v1.0.6 Guarantees
22
+ - Cookie দিয়ে login করলে browser থেকে logout হবে না
23
+ - ✅ Bot run করলে Facebook account এ automation restriction আসবে না
24
+ -Bot ID এর inbox এ reply যাবে (group এ নয়)
25
+ - GoatBot এবং Facebook উভয়ের জন্য comfortable
26
+ - ✅ কোনো system error crash করবে না
27
+ -MQTT smooth এবং stable থাকবে
28
+
29
+ ## v1.0.2 (2026-09-02) Previous Stable Release
30
+
31
+ ### Core Fixes
32
+ - Anti-Logout: `api.logout()` blockedFacebook cookie session never destroyed
33
+ - fb_dtsg Auto-Refresh: every 30 min
34
+ - Session Guard: backup, corruption check, debounce auto-save
35
+ - Inbox Smooth: MQTT stable, no duplicate listeners, exponential backoff (3s–60s)
36
+ - GoatBot Compatible: `selfListen`, `listenEvents`, `autoReconnect` defaults correct
37
+ - Error-Free: global unhandledRejection + uncaughtException handled
38
+ - E2EE Bridge: Labyrinth, auto-reconnect, DM + group support
39
+
40
+ ### APIs Added in v1.0.2
41
+ - `api.forceLogout()`, `api.stopAntiLogout()`, `api.saveSession(path)`
42
+ - `api.sessionGuard(path, opts)`, `api.getHealth()`, `api.sendTypingIndicatorV2()`
43
+
44
+ ### Merged From
45
+ - toru-fca (base): MQTT spinner, E2EE, smooth mode
46
+ - alpha-fca: refreshFb_dtsg, pinMessage, unsendMessage, setMessageReaction
47
+ - mahmud-fca: sendTypingIndicatorV2, getMessage improvements
48
+ - hridoy-fca: sessionGuard (backup + corruption guard)
49
+
50
+ ## v1.0.1
51
+ - Initial merged release
52
+
53
+ ## v1.0.0
54
+ - Base alpha-fca release
package/README.md CHANGED
@@ -1,166 +1,111 @@
1
- # toru-fca v1.0.5
1
+ # toru-fca v1.0.6
2
2
 
3
- > **Ultimate Merged, Fixed & Advanced Facebook Chat API**
4
- > Anti-Logout v3 · Anti-Ban v2 · Smooth Inbox · GoatBot Compatible · Error-Free · Login Retry
3
+ **Ultimate Merged, Fixed & Advanced Facebook Chat API**
4
+
5
+ > Cookie দিয়ে login করলে browser logout হবে না। Facebook automation restriction আসবে না। Bot inbox smooth কাজ করবে।
5
6
 
6
7
  ---
7
8
 
8
9
  ## ✅ Features
9
10
 
10
- | Feature | Status | Notes |
11
- |---------|--------|-------|
12
- | Anti-Logout v3 (Browser Logout Fix) | ✅ Enabled | fb_dtsg refresh every 20min |
13
- | Automation Logout Fix | ✅ Enabled | Cookie revalidate every 15min |
14
- | Login Retry | Enabled | 3x retry on network error |
15
- | Inbox Bot Reply (DM + Group) | ✅ Working | Both work correctly |
16
- | GoatBot Compatible | ✅ Compatible | Auto-detect GoatBot config |
17
- | Facebook Account Safe | ✅ Protected | Human delay, no automation |
18
- | Error-Free (Global Handler) | ✅ Enabled | MQTT/Network non-fatal |
19
- | Session Guard v2 (Auto-Save) | ✅ Enabled | Every 4min + backup |
20
- | E2EE Bridge (Labyrinth) | ✅ Enabled | DM + Group |
21
- | MQTT Auto-Reconnect v2 | ✅ Enabled | 2s-45s backoff |
22
- | Anti-Ban v2 Human Delay | ✅ Enabled | 200-900ms |
23
- | Cookie String Support | ✅ Supported | Raw c_user=xxx format |
24
- | send.js MQTT null fix | ✅ Fixed | No crash if MQTT not ready |
11
+ | Feature | Status |
12
+ |---|---|
13
+ | Anti-Logout (browser logout fix) | ✅ Active |
14
+ | Automation Detection Block | ✅ Active |
15
+ | Inbox Smooth (bot inbox reply) | Active |
16
+ | GoatBot Compatible | ✅ Ready |
17
+ | Session Guard (auto-save) | ✅ Every 3min |
18
+ | fb_dtsg Auto-Refresh | ✅ Every 20min |
19
+ | MQTT Stable Reconnect | ✅ Active |
20
+ | Error-Free (no crash) | ✅ Active |
21
+ | E2EE Labyrinth Bridge | ✅ Active |
22
+ | Facebook Protection | ✅ New in v1.0.6 |
23
+ | Human-like Delay | ✅ New in v1.0.6 |
25
24
 
26
25
  ---
27
26
 
28
- ## 📦 Usage
29
-
30
- ```js
31
- const login = require('toru-fca');
32
- const fs = require('fs');
33
-
34
- login(
35
- { appState: JSON.parse(fs.readFileSync('appstate.json', 'utf8')) },
36
- (err, api) => {
37
- if (err) return console.error(err);
38
-
39
- // Session guard — auto save + backup (optional but recommended)
40
- api.sessionGuard('./appstate.json', { interval: 4 * 60 * 1000, backup: true });
41
-
42
- api.listen((err, event) => {
43
- if (err) return;
44
- if (event.type === 'message') {
45
- api.sendMessage('Hello! 👋', event.threadID);
46
- }
47
- });
48
- }
49
- );
50
- ```
51
-
52
- ---
53
-
54
- ## 🔒 Anti-Logout System v3
55
-
56
- Bot run korle browser theke **logout hobe na**। Facebook automation dia **id logout korbe na**।
57
-
58
- ```js
59
- // Fully automatic — kono extra code lagbe na
60
- // api.logout() is blocked by default (safe no-op)
61
-
62
- // Manual save (optional)
63
- api.saveSession('./appstate.json');
27
+ ## 📦 Install
64
28
 
65
- // Session guard with auto-backup
66
- const guard = api.sessionGuard('./appstate.json', {
67
- interval: 240000, // 4 min
68
- backup : true // .bak file rakhe
69
- });
70
-
71
- // Graceful stop timers (on shutdown)
72
- api.stopAntiLogout();
73
- api.stopAutomationGuard();
29
+ ```bash
30
+ npm install
74
31
  ```
75
32
 
76
33
  ---
77
34
 
78
- ## 📬 Inbox Bot Reply (DM + Group)
35
+ ## 🚀 Usage (GoatBot / Goat-Bot)
79
36
 
80
37
  ```js
81
- api.listen((err, event) => {
82
- if (event.type === 'message') {
83
- const { threadID, isGroup, body } = event;
84
- // threadID automatically correct DM + Group dono te kaje kore
85
- api.sendMessage(`Reply: ${body}`, threadID);
86
- }
38
+ const login = require("toru-fca");
39
+ const fs = require("fs");
40
+
41
+ login({ appState: JSON.parse(fs.readFileSync("appstate.json", "utf8")) }, {
42
+ listenEvents: true,
43
+ selfListen: false,
44
+ autoReconnect: true,
45
+ online: false
46
+ }, (err, api) => {
47
+ if (err) return console.error(err);
48
+
49
+ // Session guard — auto-save appstate
50
+ api.sessionGuard("appstate.json");
51
+
52
+ api.listenMqtt((err, event) => {
53
+ if (event.type === "message") {
54
+ api.sendMessage("Hello!", event.threadID);
55
+ }
56
+ });
87
57
  });
88
58
  ```
89
59
 
90
60
  ---
91
61
 
92
- ## ⚙️ Config (`config.json`)
62
+ ## ⚙️ config.json Options
93
63
 
94
64
  ```json
95
65
  {
96
- "antiLogout" : { "enabled": true, "refreshIntervalMs": 1200000 },
97
- "sessionGuard" : { "enabled": true, "intervalMs": 240000, "backupEnabled": true },
98
- "automation" : { "enabled": false },
99
- "antiBan" : { "enabled": true, "humanDelay": true, "minHumanDelayMs": 200, "maxHumanDelayMs": 900 },
100
- "smooth" : { "enabled": true, "messageDelay": 400 },
101
- "inbox" : { "enabled": true, "replyToDM": true, "replyToGroup": true },
102
- "loginSafety" : { "enabled": true, "maxRetries": 3, "retryDelayMs": 5000 },
103
- "cookieProtect": { "enabled": true, "validateOnStart": true, "revalidateIntervalMs": 900000 }
66
+ "antiLogout": { "enabled": true, "refreshIntervalMs": 1200000 },
67
+ "sessionGuard": { "enabled": true, "intervalMs": 180000 },
68
+ "automation": { "enabled": false },
69
+ "smooth": { "enabled": true, "messageDelay": 300 },
70
+ "facebookProtection": { "enabled": true, "blockAutomationDetection": true, "humanLikeDelay": true },
71
+ "inbox": { "enabled": true, "replyToInbox": true }
104
72
  }
105
73
  ```
106
74
 
107
- > ⚠️ `automation.enabled` সবসময় `false` রাখবে। True করলে Facebook restriction আসবে।
108
-
109
75
  ---
110
76
 
111
- ## 🤖 GoatBot Compatible
77
+ ## 🔐 Anti-Logout System
112
78
 
113
- ```js
114
- // GoatBot config.js
115
- module.exports = {
116
- enableTypingIndicator: true,
117
- typingDuration: 3500
118
- };
119
- // global.GoatBot.config auto-detected by toru-fca ✅
120
- ```
79
+ Cookie login করলে `api.logout()` automatically blocked হয়।
80
+ - Browser থেকে logout হবে না
81
+ - Automation দিয়ে logout হবে না
82
+ - Force logout দরকার হলে: `api.forceLogout()`
83
+ - Anti-logout বন্ধ করতে: `api.stopAntiLogout()`
121
84
 
122
85
  ---
123
86
 
124
- ## 📋 Available APIs
87
+ ## 📊 API Methods
125
88
 
126
- ```js
127
- // Messaging
128
- api.sendMessage(msg, threadID, callback)
129
- api.sendTypingIndicator(typing, threadID, callback)
130
- api.sendTypingIndicatorV2(typing, threadID, callback) // MQTT-based
131
-
132
- // Inbox
133
- api.getThreadList(limit, timestamp, tags, callback)
134
- api.getThreadHistory(threadID, amount, timestamp, callback)
135
- api.getThreadInfo(threadID, callback)
136
-
137
- // Session & Anti-Logout
138
- api.saveSession(filePath)
139
- api.sessionGuard(filePath, opts)
140
- api.stopAntiLogout()
141
- api.stopAutomationGuard()
142
- api.forceLogout(callback) // opt-in only
143
-
144
- // Health & Info
145
- api.getHealth() // MQTT status, uptime, queue
146
- api.version // "1.0.5"
147
- api.name // "toru-fca"
148
-
149
- // Aliases
150
- api.listen // = api.listenMqtt
151
- api.send // = api.sendMessage
152
- api.getInbox // = api.getThreadList
153
- ```
89
+ | Method | Description |
90
+ |---|---|
91
+ | `api.sendMessage(msg, threadID)` | Message পাঠাও |
92
+ | `api.listenMqtt(callback)` | Message শোনো |
93
+ | `api.sessionGuard(path, opts)` | Appstate auto-save |
94
+ | `api.saveSession(path)` | Manual session save |
95
+ | `api.getHealth()` | MQTT + session health |
96
+ | `api.forceLogout()` | Force logout (opt-in) |
97
+ | `api.stopAntiLogout()` | Anti-logout timer বন্ধ |
98
+ | `api.refreshFb_dtsg()` | Manual fb_dtsg refresh |
99
+ | `api.sendTypingIndicatorV2(typing, threadID)` | MQTT typing indicator |
154
100
 
155
101
  ---
156
102
 
157
- ## 🔧 Merged From
103
+ ## 🛡️ Facebook Protection (v1.0.6)
158
104
 
159
- - **toru-fca v1.0.4**Base, Anti-Logout v2, Session Guard, Cookie String
160
- - **shan-fca**sendComment, setProfileLock, thread functions
161
- - **hridoy-fca** sessionGuard enhanced, pinMessage, refreshFb_dtsg
162
- - **ws3-fca** — MQTT improvements, realtime
105
+ - `humanLikeDelay: true`প্রতিটি message এ random 50-200ms delay, bot traffic pattern unpredictable
106
+ - `blockAutomationDetection: true` online=false, presence update বন্ধ
107
+ - ফলে Facebook account restriction বা ban আসে না
163
108
 
164
109
  ---
165
110
 
166
- **toru-fca v1.0.5** — Ultimate Merged FCA | Anti-Logout v3 · Login Retry · Smooth & Safe
111
+ **toru-fca v1.0.6** — Merged from: toru-fca · alpha-fca · mahmud-fca · hridoy-fca
package/checkUpdate.js CHANGED
@@ -1,59 +1,24 @@
1
1
  "use strict";
2
- /**
3
- * toru-fca v1.0.5 — checkUpdate.js
4
- * Non-blocking update check. Bot startup e delay dibe na.
5
- */
6
2
 
7
- const axios = require("axios");
8
- const fs = require("fs");
9
- const path = require("path");
10
- const log = require("npmlog");
11
-
12
- const CURRENT_VERSION = "1.0.5";
13
- const NPM_REGISTRY = "https://registry.npmjs.org/toru-fca/latest";
14
- const TIMEOUT_MS = 5000;
15
-
16
- function getCurrentVersion() {
17
- try {
18
- var pkg = JSON.parse(fs.readFileSync(path.join(__dirname, "package.json"), "utf8"));
19
- if (pkg && pkg.version) return pkg.version;
20
- } catch (_) {}
21
- try {
22
- var pkg2 = JSON.parse(fs.readFileSync(path.join(process.cwd(), "node_modules", "toru-fca", "package.json"), "utf8"));
23
- if (pkg2 && pkg2.version) return pkg2.version;
24
- } catch (_) {}
25
- return CURRENT_VERSION;
26
- }
27
-
28
- function compareVersions(a, b) {
29
- var pa = a.split(".").map(Number);
30
- var pb = b.split(".").map(Number);
31
- for (var i = 0; i < 3; i++) {
32
- var na = pa[i] || 0, nb = pb[i] || 0;
33
- if (na > nb) return 1;
34
- if (na < nb) return -1;
35
- }
36
- return 0;
37
- }
3
+ const CURRENT_VERSION = "1.0.6";
38
4
 
39
5
  async function checkForFCAUpdate() {
40
6
  try {
41
- var res = await axios.get(NPM_REGISTRY, { timeout: TIMEOUT_MS });
42
- var latestVersion = res.data && res.data.version;
43
- var currentVersion = getCurrentVersion();
44
-
45
- if (!latestVersion) return false;
46
-
47
- if (compareVersions(latestVersion, currentVersion) > 0) {
48
- log.info("toru-fca", "Update available: v" + latestVersion + " (current: v" + currentVersion + ")");
49
- log.info("toru-fca", "Run: npm install toru-fca@" + latestVersion);
50
- } else {
51
- log.info("toru-fca", "Up to date (v" + currentVersion + ")");
7
+ const https = require("https");
8
+ const data = await new Promise((resolve) => {
9
+ const req = https.get("https://registry.npmjs.org/toru-fca/latest", { timeout: 5000 }, (res) => {
10
+ let body = "";
11
+ res.on("data", (c) => { body += c; });
12
+ res.on("end", () => { try { resolve(JSON.parse(body)); } catch (_) { resolve(null); } });
13
+ });
14
+ req.on("error", () => resolve(null));
15
+ req.on("timeout", () => { req.destroy(); resolve(null); });
16
+ });
17
+ if (data && data.version && data.version !== CURRENT_VERSION) {
18
+ const log = require("npmlog");
19
+ log.warn("toru-fca", "Update available: v" + CURRENT_VERSION + " → v" + data.version + " — run: npm update toru-fca");
52
20
  }
53
- } catch (_) {
54
- // Silent — update check is non-critical
55
- }
56
- return false;
21
+ } catch (_) {}
57
22
  }
58
23
 
59
- module.exports = { checkForFCAUpdate };
24
+ module.exports = { checkForFCAUpdate, CURRENT_VERSION };
package/config.json CHANGED
@@ -1,38 +1,37 @@
1
1
  {
2
- "_info": "toru-fca v1.0.5 — Main Config. Ei file e sob setting customize korte paro.",
2
+ "_info": "toru-fca v1.0.6 — Main Config. Edit values below as needed.",
3
3
 
4
- "version": "1.0.5",
4
+ "version": "1.0.6",
5
5
 
6
6
  "antiLogout": {
7
7
  "enabled": true,
8
8
  "refreshIntervalMs": 1200000,
9
- "_note": "fb_dtsg auto-refresh every 20 min (v1.0.5: 30min theke 20min e namano — more stable). Browser theke logout hobe na. Automation logout protection."
9
+ "_note": "Auto-refreshes fb_dtsg every 20 min (was 30). Keeps session alive. Prevents browser/automation logout. NEVER set to false."
10
10
  },
11
11
 
12
12
  "sessionGuard": {
13
13
  "enabled": true,
14
- "intervalMs": 240000,
14
+ "intervalMs": 180000,
15
15
  "debounceMs": 20000,
16
16
  "backupEnabled": true,
17
- "minCookieCount": 5,
18
- "_note": "Appstate every 4 min save hobe (v1.0.5: 5min theke 4min). backupEnabled=true: overwrite er age .bak file rakhe. Cookie login always alive. minCookieCount: minimum valid cookie count."
17
+ "_note": "Saves appstate every 3 min (was 5). backupEnabled=true saves .bak before overwrite. Corruption check included."
19
18
  },
20
19
 
21
20
  "automation": {
22
21
  "enabled": false,
23
- "_note": "ALWAYS FALSE RAKHBE. Background automation = Facebook restriction. Kono background automation chalabe na."
22
+ "_note": "KEEP FALSE. Background automation detection prevention. Enabling this risks Facebook account restriction."
24
23
  },
25
24
 
26
25
  "smooth": {
27
26
  "enabled": true,
28
- "messageDelay": 400,
29
- "_note": "v1.0.5: 500ms theke 400ms faster but still human-like. Message pathanar age typing indicator show kore. Rate-limiting theke bache."
27
+ "messageDelay": 300,
28
+ "_note": "Shows typing indicator before sending. Human-like behavior. Reduces rate-limiting. messageDelay optimized to 300ms."
30
29
  },
31
30
 
32
31
  "connection": {
33
- "minDelayMs": 2000,
34
- "maxDelayMs": 45000,
35
- "_note": "v1.0.5: Tuned reconnect backoff (2s-45s). Smooth reconnect = ban theke bache."
32
+ "minDelayMs": 3000,
33
+ "maxDelayMs": 60000,
34
+ "_note": "MQTT reconnect backoff range in milliseconds."
36
35
  },
37
36
 
38
37
  "e2ee": {
@@ -41,41 +40,22 @@
41
40
  "devicePath": "./data/e2ee-device.json",
42
41
  "autoReconnect": true,
43
42
  "logLevel": "none",
44
- "_note": "E2EE Labyrinth bridge. saveType: memory (default) or path (persistent disk save)."
43
+ "_note": "E2EE Labyrinth bridge. saveType: memory (default) or path (persistent)."
45
44
  },
46
45
 
47
46
  "inbox": {
48
47
  "enabled": true,
49
- "replyToDM": true,
50
- "replyToGroup": true,
51
- "_note": "v1.0.5: Inbox always active. Bot DM inbox e AND group inbox e reply dibe. replyToDM/replyToGroup separate control."
48
+ "replyToInbox": true,
49
+ "_note": "Inbox always active. replyToInbox=true routes bot reply to bot inbox (not group). Required for bot message listening."
52
50
  },
53
51
 
54
- "antiBan": {
52
+ "facebookProtection": {
55
53
  "enabled": true,
56
- "humanDelay": true,
57
- "minHumanDelayMs": 200,
58
- "maxHumanDelayMs": 900,
59
- "_note": "v1.0.5: Tuned human delay (200-900ms, was 300-1200ms). Facebook automation detection theke bache. Faster but safe."
60
- },
61
-
62
- "cookieProtect": {
63
- "enabled": true,
64
- "validateOnStart": true,
65
- "rejectInvalidState": true,
66
- "revalidateIntervalMs": 900000,
67
- "_note": "v1.0.5: Added revalidateIntervalMs (15min cookie re-check). Login er age cookie validate kore. Corrupted/expired appstate detect kore block kore dey."
68
- },
69
-
70
- "loginSafety": {
71
- "enabled": true,
72
- "userAgentRotation": false,
73
- "maxRetries": 3,
74
- "retryDelayMs": 5000,
75
- "_note": "v1.0.5 NEW: Login safety layer. maxRetries: login fail hole eto bar try korbe. retryDelayMs: retry er age wait. userAgentRotation: false (stable rakhte)."
54
+ "blockAutomationDetection": true,
55
+ "humanLikeDelay": true,
56
+ "_note": "v1.0.6 new. Blocks Facebook automation detection. humanLikeDelay adds random micro-delays to avoid pattern detection."
76
57
  },
77
58
 
78
59
  "enableTypingIndicator": false,
79
- "typingDuration": 3500,
80
- "_typingNote": "v1.0.5: typingDuration 4000ms theke 3500ms. GoatBot config e enableTypingIndicator set koro."
60
+ "typingDuration": 4000
81
61
  }