Fix Facebook story posting by implementing a two-step upload process

Update `FacebookService.publishStory` to first upload the photo as unpublished to obtain a `photo_id`, and then use this `photo_id` to publish the story. This addresses the issue where stories were not being posted correctly.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ae4037a0-2a6f-4530-9bac-79b543286bda
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/397bca8c-984f-43ff-841a-10897aeb8140/ae4037a0-2a6f-4530-9bac-79b543286bda/d2GBAIk
This commit is contained in:
michaelschal committed 2025-10-11 06:45:34 +00:00
1 parent a35b2e3118
commit f062e396ee
3 files changed
+125 -14

No files matched your search

-4
View File
@@ -50,10 +50,6 @@ externalPort = 8081
localPort = 40537
externalPort = 3000
[[ports]]
localPort = 41569
externalPort = 9000
[[ports]]
localPort = 41803
externalPort = 8008