Some more info about the project and how Cactus will need to work with the LinkedIn API....
For the LinkedIn API I want it to be able to post to LinkedIn company pages. To post to company pages on LinkedIN, we need to get the access token for that through the API.
SO, the user in Cactus must be an admin of the company pages on LInkedIN that they want to publish to. Same goes for both Facebook and LinkedIn. (Facebook is already completed.)
The user in Cactus will select the website and LinkedIn page. And this needs to be stored in the database, just like it currently works for Facebook. So the app will need to get all the LinkedIN company pages that the user is admin for, then list them for the user and have the user select which page goes with which website. (There is a link on the left sidebar menu in Cactus called “Check Facebook pages” that shows how the websites are connected with Facebook.)
The user can create and edit the posts in Cactus. And the Cactus app publishes the posts to the LinkedIN page. Since the LinkedIN access token and company pages are stored in the database, Cactus will automatically publish these posts to the LInkedIN company page, via cron jobs. Just like it currently does for Facebook.