I am creating a page that will allow scheduling of social media posts to multiple social media accounts, across multiple platforms, and at scheduled times. The goal is to allow a user to select multiple Social Media accounts (i.e. multiple facebook, twitter, etc), select multiple social media platforms (facebook, twitter, instagram, youtube), select multiple dates/times for the posting all from one screen.
I need to create a new thing for each of the selections (Account-Platform-Date). The text and the file url (image, video) for the post is already housed in the database as separate things that will be passed with the call of the API. This is basically a loop nested inside a loop nested inside another loop. I saw that you can call an API on a list but not sure how to do any of the other nesting. Any help, would be great. Thanks!