facebook: Page details — categories added, hours and Messenger FAQ refused by Meta
gates / gates (push) Successful in 5m24s

Second Facebook task of the day. Page settings changed by hand in the operator's
Chrome; every edit read back from a channel other than the one that made it,
because Meta's toasts have lied here before (2026-10-08: "A modositas nincs
mentve" arrived with a partial save).

- Contact (B1) was ALREADY SET, by the operator, before this run: Graph reads
  emails ["info@felhom.eu"] and phone "+36702378499". Verified, not typed.
- Place (B2) already city-only Budapest, as the operator chose. Service area
  REFUSED: Facebook offers the field but its picker has no "Magyarorszag",
  only cities. Control: "Szeged" returns Szeged. Left unset rather than
  narrowed to Budapest, which would shrink a coverage claim nobody authorised.
- Categories (B3) DONE: Informatikai vallalat (kept first, the only one shown)
  + Internetes ceg + Szoftverceg. Facebook's Hungarian list has no IT-support,
  IT-consulting or cloud category; eleven terms searched, and the one true
  match is a repair counter, which the fences rule out.
- Hours (B4) CANNOT be set and need not be: Facebook requires a street address
  first, which the fences forbid. Measured on the rendered page with controls
  present -- Zarva 0, Nyitva 0 while Budapest 1, Informatikai vallalat 1. The
  Page will never show "Zarva".
- Messenger FAQ (B5) REFUSED -> R-920: the automation does not exist for this
  Page. Catalogue holds exactly three templates; search "kerdes" returns none
  while the control "uzenet" returns two. COPY.md section 5 is written anyway,
  questions verbatim from gyik.html and answers condensed from each question's
  own answer, and waits like section 2 does (R-917).
- Link preview correct in both languages, re-scraped once each; only the
  expected fb:app_id warning, deliberately not fixed. Both report HTTP 206
  where a plain curl gets 200 -- Facebook's scraper, preview complete.

fb_probe.py read now also reports emails, phone, category_list, location,
single_line_address and hours, ONE FIELD PER CALL: a batched fields= list fails
whole when any member is unreadable, which would let one refused field hide the
other five. Refusals are logged verbatim and never retried; "null" and "not
returned" are logged apart. hours is never returned by Graph, which is why B4's
read-back had to come from the rendered page.

Also corrects the "Business & legal" header, which read 12 rows (P2 5) over a
section holding 11 (P2 4); with R-920 it is 12 (P2 4, P3 1, P4 7). Only the
section this commit edits -- the other drifting headers belong to a session
that owns the register.

No post, no invite, no money, no app or portfolio change, website unchanged.
This commit is contained in:
2026-10-09 10:28:24 +02:00
parent 02a54e26f5
commit 97d3c29f9c
48 changed files with 1701 additions and 1 deletions
+15
View File
@@ -245,12 +245,27 @@ def scenario_b(g, token):
INSIGHT_METRICS = ("page_post_engagements", "page_follows", "page_media_view")
# The details box, one field per call. ONE PER CALL ON PURPOSE: Graph fails a whole `fields=` list when
# any single member is unreadable, so a batch would let one refused field hide the other five (the same
# reason INSIGHT_METRICS is called one at a time). A refusal is recorded with Meta's error VERBATIM and
# never retried — a retry would turn „Meta refuses this field" into „the field is empty", which is a
# different fact. An absent key is also not „empty": `null` and „not returned" are logged apart.
DETAIL_FIELDS = ("emails", "phone", "category_list", "location", "single_line_address", "hours")
def scenario_c(g, page):
pid, ptok = page["id"], page["token"]
c1 = g.call("C1-page", "GET", pid, ptok,
query={"fields": "id,name,link,category,about,website,followers_count,fan_count"})
log("C page fields: ok=%s %s" % (c1.ok, {k: v for k, v in c1.body.items() if k != "error"} if c1.ok else c1.err))
for f in DETAIL_FIELDS:
c = g.call("C4-detail-" + f, "GET", pid, ptok, query={"fields": f})
if not c.ok:
log(" detail %-20s REFUSED %s" % (f, json.dumps(c.err, ensure_ascii=False)))
elif f not in c.body:
log(" detail %-20s ok, but the field was NOT RETURNED (not the same as null)" % f)
else:
log(" detail %-20s = %s" % (f, json.dumps(c.body[f], ensure_ascii=False)))
c2 = g.call("C2-feed", "GET", pid + "/feed", ptok, query={"limit": "5"})
log(" feed: ok=%s posts=%s" % (c2.ok, len(c2.body.get("data", [])) if c2.ok else c2.err))
for m in INSIGHT_METRICS: # one call per metric: one renamed metric must not hide the others