Hello @TraceyR216 ,
Facebook doesn't allow this type of API connection and coding these days. We recommend using a landing page form for social platforms. Or you can use the URL to your website page that has the coded form.
See also:
Sharing landing page sign-up form URL
Support Tips
"There's a multitude of ways to engage your audience through us using your social platforms - via ads, social post metrics, email links, and more! " - Will
See ArticleSupport Tips
"Target your most engaged contacts by creating a segment. Create a special offer or show your appreciation!" - Caitlin
See ArticleSupport Tips
"Greet new contacts with one or more automated Welcome Emails depending on their interests or your business goals." - Nick
See Article