How To Auto-Publish And Schedule WordPress Posts To Twitter
Option 1: Using the FS Poster Standard App to add your account;
Option 2: Create your personal App and add your accounts using the personal App;
Option 3: Use the Cookie method to add your account to the plugin (Risky).
1. Adding An Account To The Plugin using the Standard App
You can add your account to the plugin using the FS Poster - Standard App. This method is the simplest method that you only need three clicks to add an account; no other action is required.
1. Go to FS Poster > Accounts > Twitter menu;
2. Click the ADD AN ACCOUNT button;
3. Click the GET ACCESS button, and authorize your Twitter account. It will use the Standard App by default and that App is hidden. You do not need to check the “Use a custom App”, if you do not have one;
4. Activate communities.
Because Twitter supports only 280 characters, sharing posts on Twitter works under certain conditions:
If the shared post contains some text and an image or a video, the first 280 characters are shared with the image or video.
If the post contains some text and a link, the exceeded text is cut from the text, but the entire link is shared.
If the link length is 280+, the link is deleted from the post, and only the text is shared.
You can set the plugin to share your post as a link card view or upload your images. If your images are not visible on the link card view, you can debug your website on the Twitter developer page to see the reason.
2. Create your personal App and add your accounts using the personal App
Using your personal App will provide better performance than the Standard App because the Standard App is used by all FS Poster users whereas the personal App will be used by only you.
- Go to the Twitter Developers page, and apply for a Twitter developer account by filling in the necessary information;
- Choose the "Building consumer products" option for the use case and click the Next button;
- Click the box to accept the policy and submit the application;
- You will get an email from Twitter to verify your Twitter developer account. Check your email inbox and submit the verification;
- After confirming your email, you will be required an App name to create your App. When you provide the App name, click the Get keys to obtain the App credentials;
- Copy the API Key and API Key Secret and go to the App dashboard;
- Go to FS Poster > APPS > Twitter menu;
- Click the ADD APP button;
- Paste your API Key and API Key Secret, and click the ADD APP button;
- Copy your callback URL on the Apps tab:
- You need to edit the User Authentication Settings in the App dashboard and select the Read and Write option.
- Then add the Callback URL we copied from the plugin earlier;
- You can also go to the Keys and Tokens tab within your App settings and regenerate your Consumer keys;
- By default, the Project will be the Essential access level;
- And you need to apply for the Elevated access level. To do that, go to the Projects & Apps menu, expand it, and select Project 1. The scroll down to see the Apply for Elevated button;
- Fill the form and click the Next button;
- Fill the forms (you can use the information we provided), and click the Next button;
We share our WordPress posts on Twitter daily. We want to automatically use a WordPress plugin to share those posts on Twitter. And I need to connect my Twitter account to the plugin using this API.
We plan to use our granted API keys in a way that's compliant with Twitters automation policy located here: https://help.twitter.com/en/rules-and-policies/twitter-automation
We don't intend to analyze Tweets, Twitter users, or their content.
My use involves Tweeting, and users on my follower list will see my shares.
We don't intend to use the API to display Twitter tweets inside our WordPress.
No. It is only for personal use.
- Review the account and click the next button;
- Accept the policy and Submit.
The Application will be pending for the Elevated level. If you get an email from Twitter for more information, you need to respond accordingly.
- When the Elevated access level is approved, go to FS Poster > Accounts > Twitter menu;
- Click the ADD ACCOUNT button, check the “Use a custom App”, select your App from the select box, and click the "GET ACCESS" button, and authorize your Twitter account;
- Activate the account to start sharing.
3. Use the Cookie method to add your account to the plugin.
The cookie method is private and works 70% of the time. If you use this method, especially if you spam, Twitter might suspend your account. Some advice below will make your account less likely to be blocked:
- Don't use newly created Twitter accounts. Twitter will probably block these users to prevent spammers and bots;
- Confirm your account via phone number;
- Don't use URL shortener services;
- Use a private proxy for your country;
- Don't spam.
Follow the steps to add an account using the cookie method:
1. Go to FS Poster > Accounts > Twitter menu;
2. Click the ADD AN ACCOUNT button;
3. Select the Cookie method;
4. Open the Incognito tab on a browser (Chrome is recommended, and you can open the Incognito tab on Chrome by pressing Ctrl+Shift+N keys);
5. Log in to your Twitter account;
6. Press the F12 key on your keyboard and click the Application tab within the opened window;
7. Click the Cookies on the left menu;
8. Copy the auth_token cookie value and close the incognito tab without logging out from your account. As a result, the session will not expire. That session will remain until you change your account password;
9. Paste the auth_token to the dedicated input and click the GET ACCESS button;
10 Activate your account.