-
Notifications
You must be signed in to change notification settings - Fork 972
AutoPostOnSocialMedia Plugin
The AutoPostOnSocialMedia plugin can help you automatically post your content on multiple social media platforms. This guide will focus on setting up the Twitter AutoPost function.
Our final goal is to post a tweet on your Twitter account using the REST API. This process requires you to register your application with Twitter and get the API keys, which act like your identity for your Twitter account.
To create an application, follow these steps:
-
Navigate to the Twitter Developer Apps portal.
-
Click the "Create New App" button.
-
Fill up the Name, Description, and Website fields.
-
Accept the agreement and click the button "Create your Twitter application".
-
On the next page, click on the tab "Keys and Access Tokens". Under this tab, you will find your "Consumer Key" and "Consumer Secret". Copy these details and store them in a safe place.
-
Under the same tab, you will see the section "Your Access Token". Click on the "Create Access Token" button.
-
At this step, copy your "Access Token" and "Access Token Secret". Keep these details safe.
Now that you have your application created, there are a few more steps to follow:
-
In the "Settings" tab of your application page, change the Application type to "Read, Write, and Access direct messages".
-
In the "Keys and tokens" tab, press the "Regenerate" button. This will update your "Consumer Key" and "Consumer Secret". Update these new credentials in your application accordingly.
Please note that Twitter's API version 1.0 is deprecated. You should ensure that you are using at least version 1.1. Select the API version in your plugin parameters.