View Categories

X (Twitter)

How to Auto-Publish and Schedule Posts on X (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)

1. Create your personal App and add your accounts using the personal App #

Twitter provides a 50-post limit per day for a Twitter App, so a Standard App cannot be provided for all users. We recommend creating an App for your personal use to avoid encountering 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 is that we share our posts on Twitter daily. We want to use a 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 compliance with Twitter’s automation policy. 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 mainflow.

– 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 rename it for your business;

– Then click the Set up button to configure the User authentication settings;

– Select the App permission and type;

– You can copy your redirect URL from the Apps tab of the Plugin;

– 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;

– Assign a recognizable name to your app and input the app credentials into the system.

– In Mainflow, navigate to the Channels section and select the “X (Twitter)” option, then click the “Add channel” button.

– Select your App from the list and click the Continue button.

– Optionally, you can add the account with a proxy.

– When the X authorization page appears, click “Authorize App” to connect the account. The page will show the current logged-in account. If it’s not the account you wish to use, sign in with the correct one in a new tab.

– After selecting the account, click the channel or the >> button to add it to Mainflow.

– Activate your channels to share posts automatically whenever a new post is published. If you don’t activate them, you’ll need to manually add channels when sharing posts.

– Channels can be activated based on specific conditions by selecting particular categories to share certain posts or exclude others. This setting applies only to auto-sharing.;

– The “Customize content” feature allows you to set specific content for the channel, which will override the default settings for that channel;

– You can enable or modify proxy settings without needing to reauthorize the channel.

– Once channels are activated, they will be visible in the Mainflow section when posting. The system will automatically share posts on these channels.

– Under the Permissions tab, you can grant other users access to the channels in their Mainflow dashboard. You can provide them with sharing privileges only or allow full management of the channel and its settings;

– In the Labels tab, you can organize channels into specific groups, making it easier to add a group of channels to the Planners or Schedules instead of adding them one by one.

– Now, you can easily filter channels by label and click the >> button to add them all at once for sharing;

Because Twitter supports only 280 characters for regular accounts, 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.

If you have a premium account, you can disable the option to share full text:

– You can set the plugin to share your post URL as a link card view or upload post images. If the post images are not visible on Facebook, you can debug your website on the Twitter developer page to see the reason behind the issue.

2. Use the Cookie Method to Add Your Account to the System (Risky). #

The cookie method is a more private approach and works approximately 70% of the time. However, it carries a risk of account suspension, especially if overused or misused. To reduce the likelihood of your account being blocked, follow these recommendations:

  • 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:

– Open the browser in the Incognito mode;

Click the “Ctrl” + “Shift” + “n” keys for opening Incognito tab in Chrome

Click the “Ctrl” + “Shift” + “p” keys for opening Incognito tab in Firefox

– Log in to your X (Twitter) account;

– Open the Inspect element panel by clicking the F12 key or right-click on the page and click the Inspect button;

– Go to the Application tab within the Inspect element panel and click the Cookies menu. Copy the auth_token cookie value and close the incognito tab without logging out of your account. If you log out, you will need to get new cookie values again;

– Go to Mainflow> Channels > X (Twitter) menu and click the Add channel button;

– Select the cookie method from the list, paste the cookie, and click the Continue button.

– You can also add the account using a proxy if needed.;

– Click the channel or the >> button to add it to the plugin;

Subscribe