devForTheFuture/Facebook-Auto-Pilot ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple PHP tool that helps me automate Facebook posting.

I want to be able to paste in my Facebook app ID and app secret in a config file, then run a script that can post a message to multiple Facebook groups or pages that I already have access to, like groups I am a member of or admin of, and pages I manage. It should let me control how many groups or pages it posts to in one run, and add a delay between requests so it does not blast everything at once.

Keep it straightforward and easy to set up locally, with clear instructions for creating the Facebook app and setting the site URL. If anything in the Facebook API setup has changed, look up the current docs online and make it work with the latest approach. I just want a practical script that handles the posting flow reliably and logs what happened.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab