Add Social Account
How To Auto-Publish And Schedule WordPress Posts On Twitter
Option 1: Create your personal App and add your accounts using the personal App (Recommended);
Option 2: Use the Cookie method to add your account to the plugin (Risky).
Option 3: Use the FS Poster Standard App to add your account (For testing purposes);
1. Create your personal App and add your accounts using the personal App
Twitter provides 50 posts limit in a day for a Twitter App, so we are not able to provide a Standard App that all FS Poster users can use it. We recommend creating an App for your personal use, so as not to encounter any daily-limit errors.
- To create an App, go to the Twitter Developers page, and apply for a free Twitter developer account;
- Agree with the developer agreement & policy and click the Submit button.
You can copy and paste the use case provided below:
The core use case to use the Twitter API is that we share our WordPress posts on Twitter daily. We want to use a WordPress plugin to share those posts on Twitter automatically. 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 the 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, share details about the analyses you plan to conduct, and the methods or techniques.
My use involves Tweeting, and my shares will be seen by users who are on my follower list.
We don't intend to use the API to display Twitter tweets inside our WordPress.
- After having a developer account, you will have a new project and an App created for you with a random name. Edit the Project name and Project use from the Project settings:
Then edit the App and then rename it for your business;
- Then click the Set up button to configure the User authentication settings;
- And select the App permission and type;
- Go to FS Poster > APPS > Twitter menu;
- Copy your callback URL from the Apps tab;
- Paste it to the App info => Callback / Redirect URL section and enter your website URL;
- Go to the Keys and Tokens tab and generate the API Keys and Secret. After regeneration, copy the API Keys and Secret to add them to the plugin;
- Go to FS Poster > APPS > Twitter menu;
- Click the ADD APP button;
- Paste your API Key and Secret, and click the ADD APP button;
- 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;
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. Use the Cookie method to add your account to the plugin (Risky).
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.
3. 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, but since every Twitter App has 50 posts limit per day, you might encounter a daily limit error. That is why we recommend creating a Twitter App for your own use.
- Go to FS Poster > Accounts > Twitter menu;
- Click the ADD AN ACCOUNT button;
- 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;
- Activate communities.