Oracle Content Management Social Media Posting Guide
Getting started with Ayrshare for Oracle Content Management.
Congratulations on selecting Ayrshare, the leading social media publishing API platform, to complement your Oracle Content Management (OCM) subscription. This guide explains how to configure your OCM product so your team can publish content to your company's social media accounts.
Prefer we set it up for you?
As part of your Ayrshare subscription, you have a white-glove implementation available. Contact us at support@ayrshare.com if you would like an implementation specialist to configure Ayrshare and OCM on your behalf. If you prefer to do the setup yourself, follow the steps below.
Configure Ayrshare and OCM in seven steps
Before you can start posting content to social media networks, you need to create your Ayrshare account and configure OCM.
Step 1Set up your Ayrshare account
Go to app.ayrshare.com and create a new account. Choose “Sign in with email” and use the email address associated with the primary user.
Once you are logged in, go to the API Key section and note your API Key. You can always come back to this page if you want to find your API Key in the future.
Step 2Link your social media accounts in Ayrshare
Go to the Social Accounts section and click on each social network that you want to connect. Each social network will ask you for permission to connect, which you can accept.
You will see “Linked” and your profile image on each tile that you have connected.
Step 3Set up a new Asset Type in OCM
In the OCM Administration section, go to the Content section. Select Asset Types and click the Create button. You will add 4 data fields to the Content Type Definition.
It is important to use the exact field names that are in this guide for the integration to work correctly. Capitalization is disregarded, but the spelling must match.
Field Name
Type
Values
Required
Appearance Details
Post
Type:Text
Values:Single
Required:Yes
Appearance of data field = Text Area
Media
Type:Media
Values:Multiple
Required:No
Appearance of data field = Media Picker
Select media = Images and Videos
Check All digital asset types
Date
Type:Date
Values:Single
Required:No
Appearance of data field = Date/Time Picker
Platforms
Type:Text
Values:Multiple
Required:Yes
Appearance of data field = Checkboxes
Enter the Options for the social networks that you linked in Step 2
For the Platforms field, enter the options for the social networks you linked in Step 2. Acceptable values are:
Step 4Create a Publishing Channel in OCM
In the Administration → Content section of OCM, create a new Publishing Channel. You can name it something like “Ayrshare Social Publishing Channel”.
Step 5Create an Asset Repository in OCM
In the Administration → Content section of OCM, create a new Repository. Select the Asset Type you created in Step 3 and the Channel you created in Step 4. You can name it something like “Ayrshare Repository”.
Step 6Add the Ayrshare webhook
In the Administration → Integrations section of OCM, create a new Webhook. Select “Asset Publishing Webhook” as the type when prompted.
Give it a name, select the Publishing Channel from Step 4, and enter the Target URL below. In the Authentication section, select Header and add the details below.
The key is Authorization and the value is Bearer YOURAPIKEY. Remember to add the word “Bearer” and a space before your API Key, which you copied in Step 1 above.
Target URL
Key
Authorization
Value
Bearer YOURAPIKEY
Step 7Send your channel token
The last step is to send your OCM channel token to Ayrshare. Before your posts can go live on the social networks, you need to create a post and publish it to Ayrshare to find your channel token.
You can find the channel token in the Administration → Content → Publishing Channels section. Click the channel you created, then expand the right panel and select the API tab.
Copy this channel token and send it to your Ayrshare representative or support@ayrshare.com.
Post to your social accounts
Once the setup is complete, you can post to your linked social media accounts.
In OCM, go to the Assets section and ensure that your new Repository created in Step 5 is active.
Create a new content item of the type you created in Step 3.
Fill out the details of the social media post: add the post body text, media assets if applicable, the scheduled date and time if applicable, and the platforms.
Add a channel, which should be the one you created in Step 4.
Click Publish to validate the post, then click Publish to send the post to the social networks.
Good to know
Track everything from one dashboard
To see the status of published posts, check the Ayrshare dashboard at app.ayrshare.com in the Posts section. From this dashboard you can also see the history of your posts and delete posts if needed.
Ready to publish from OCM?
Create your Ayrshare account, link your social networks, and connect Oracle Content Management in minutes. Need a hand? Our implementation specialists will set it up for you.
