Skip to content

๐Ÿฆ Twitter Integration Guide

๐Ÿ”น Why is This Important?

Integrating Twitter with Affiliate Solution allows you to automatically post deals on your Twitter account. This helps in:

โœ… Reaching a wider audience with automated posts ๐ŸŒ
โœ… Saving time by eliminating manual posting โณ
โœ… Increasing engagement on Twitter ๐Ÿš€

By following this guide, you can set up a Twitter Developer App, generate API keys, and connect Twitter to Affiliate Solution for auto-posting.


๐Ÿ”น Steps to Set Up Twitter Auto-Posting

๐Ÿ›  Step 1: Log Into Affiliate Solution

  1. Log in to Affiliate Solution.
  2. Click on "Twitter" from the menu.

๐Ÿ“ธ Example Screenshot:
Twitter Menu


๐Ÿ”— Step 2: Create a Twitter Developer App

  1. Log in to Twitter Developers.
  2. Click "My Apps".
  3. Click "Create App".
  4. Select "Explore other products and data permissions", then click Next.
  5. Select "Create or manage business assets", then click Next.
  6. Enter an App Name (Example: Affiliate Solution Twitter Bot).
  7. Click "Create App" โœ….

๐Ÿ“ธ Example Screenshot:
Create Twitter App


๐Ÿ”‘ Step 3: Configure Twitter App Permissions

  1. Click "App Settings".

    ๐Ÿ“ธ Example Screenshot:
    Create Twitter App

  2. Click "User Authentication Settings", then click "Setup".

    ๐Ÿ“ธ Example Screenshot:
    Create Twitter App

  3. Under App Permissions, select Read and Write and Direct Message.

    • โš ๏ธ If these options are not selected, auto-posting will not work! ๐Ÿ“ธ Example Screenshot:
      Create Twitter App
  4. Under Type of Apps, select Web App, Automated App, or Bot. ๐Ÿ“ธ Example Screenshot:
    Create Twitter App
  5. In App Info, enter Affiliate Solution's website URL in both the Callback URL and Website URL fields:
    https://affiliatesolution.in/
    
    ๐Ÿ“ธ Example Screenshot:
    Create Twitter App
  6. Click Save โœ….

๐Ÿ”„ Step 4: Generate API Keys

  1. Click on the "Keys and Tokens" tab.

    ๐Ÿ“ธ Example Screenshot:
    Create Twitter App

  2. Click "Regenerate" under Consumer Keys.

    ๐Ÿ“ธ Example Screenshot:
    Create Twitter App

  3. Click "Yes, Regenerate".

    ๐Ÿ“ธ Example Screenshot:
    Create Twitter App

  4. Copy the API Key and API Key Secret.

    ๐Ÿ“ธ Example Screenshot:
    Create Twitter App


โœ… Step 5: Add API Keys to Affiliate Solution

  1. Log in to Affiliate Solution.
  2. Paste the Consumer Key and Consumer Secret into the respective text boxes.

๐Ÿ“ธ Example Screenshot:
Add Twitter Keys


๐Ÿ”„ Step 6: Generate Access Tokens

  1. Click "Regenerate" under Access Token and Secret.

    ๐Ÿ“ธ Example Screenshot:
    Generate Access Token

  2. Click "Yes, Generate". ๐Ÿ“ธ Example Screenshot:
    Generate Access Token

  3. Copy the Access Token and Access Token Secret.

    ๐Ÿ“ธ Example Screenshot:
    Generate Access Token


โœ… Step 7: Add Access Tokens to Affiliate Solution

  1. Paste the Access Token and Access Token Secret into the respective text boxes in Affiliate Solution.

    ๐Ÿ“ธ Example Screenshot:
    Add Access Tokens

  2. Click "Save" โœ….


๐Ÿš€ Step 8: Test Twitter Auto-Posting

  1. Click "Post Deal".
  2. Write your deal message in the Deal Message text box.
  3. Uncheck all other platforms, select Twitter checkbox, and click "Post Deal".
  4. โœ… Your deal is now posted successfully on Twitter! ๐ŸŽ‰

๐Ÿ“Œ Common Issues & Troubleshooting

โ“ My Twitter API keys are not working

  • Ensure you selected "Read and Write" and "Direct Message" permissions.
  • Try regenerating API keys in Twitter Developer Portal.

โ“ My deals are not posting on Twitter

  • Ensure Twitter Auto-Posting is enabled in Affiliate Solution.
  • Check API permissions and verify tokens are correct.

โ“ Auto-posting is not working

  • Ensure "Post on Twitter" is selected in Post Settings For Bot.
  • Restart the Express Bot to apply changes.

๐ŸŽฏ Next Steps

โœ… Now your Twitter auto-posting is set up! ๐Ÿš€
๐Ÿ”„ Your deals will be automatically posted to Twitter! ๐Ÿ”ฅ

๐Ÿ”— Next Guide: How to Set Up WordPress Integration