Skip to content
Logo
  • Support
  • My account
  • My cart
  • Magento 2 Extensions
  • Magento 1 Extensions
  • Magento Services
  • Packages
  • Special Offers
  • Blog
  • Contact Us

Home Magento 2 Extensions Magento 2 Social Login Pro Documentation Integrations Twitter Login Configuration

    • Installation
    • Updating
    • Configuration
      • Facebook Login Magento Configuration
      • Twitter Login Magento Configuration
      • Google Login Magento Configuration
      • Google One Tap Sign In Magento Configuration
      • LinkedIn Login Magento Configuration
      • Yahoo! Login Magento Configuration
      • Live, Hotmail, MSN Login Magento Configuration
      • Amazon Login Magento Configuration
      • Aol Login Magento Configuration
      • GitHub Login Magento Configuration
      • Instagram Login Magento Configuration
      • Foursquare Login Magento Configuration
      • Dropbox Login Magento Configuration
      • Disqus Login Magento Configuration
      • Livejournal Login Magento Configuration
      • Tumblr Login Magento Configuration
      • Flickr Login Magento Configuration
      • WordPress Login Magento Configuration
      • PayPal Login Magento Configuration
      • Salesforce Login Magento Configuration
      • Evernote Login Magento Configuration
      • Stackoverflow Login Magento Configuration
      • Mixi Login Magento Configuration
      • QQ Login Magento Configuration
      • Sina Weibo Magento Configuration
      • Kaixin001 Login Magento Configuration
      • Renren Login Magento Configuration
      • Alipay Login Magento Configuration
      • WeChat Login Magento Configuration
      • Mydigipass Login Magento Configuration
      • SoundCloud Login Magento Configuration
      • Verisign Login Magento Configuration
      • XING Login Magento Configuration
      • PersonaBrowserID Login Magento Configuration
      • Bitbucket Login Magento Configuration
      • Skyrock Login Magento Configuration
      • Bitly Login Magento Configuration
      • Box.com Login Magento Configuration
      • Vimeo Login Magento Configuration
      • Reddit Login Magento Configuration
      • Upwork Login Magento Configuration
      • TeamViewer Login Magento Configuration
      • Etsy Login Magento Configuration
      • Imgur Login Magento Configuration
      • Intuit Login Magento Configuration
      • MailChimp Login Magento Configuration
      • Dribbble Login Magento Configuration
      • Goodreads Login Magento Configuration
      • Last.fm Login Magento Configuration
      • Naver Login Magento Configuration
      • Line Login Magento Configuration
      • Apple Login Magento Configuration
      • Steam Login Magento Configuration
      • Yahoo! Japan Login Magento Configuration
      • Telegram Login Magento Configuration
      • TikTok Login Magento Configuration
      • Spotify Login Magento Configuration
      Integrations
    • How-To Guides
    • Troubleshooting
    • Developer Guide & API Reference
    • Translation
    • Uninstalling
    Magento 2 Social Login Pro - Documentation

How to Add Magento Twitter Login to Your Website

In this article, you will learn how to find your Twitter API keys and integrate Twitter Login into Magento Social Login Pro extension and Magento Twitter & Facebook Login extension. Please follow the step-by-step instructions below.

Important Information:

Twitter API v1.1 was deprecated on April 21, 2023. This means if the Twitter login functionality on your Magento 2 store has stopped working, you need to migrate to v2.0 to provide an uninterrupted social login experience. This process involves deleting the old application and creating a new one with OAuth 2.0 support. You can follow our guide for detailed instructions.

Setting Up Twitter API for Magento

Step 1. Create the Twitter Developer Account

If you created apps earlier, you may continue managing them on a developer platform. However, in order to create a new app, you need to create a new Twitter developer account. Please follow the steps below to do it correctly.

Important Information:

On March 30, 2023, Twitter introduced revamped API tiers – Free, Basic, Pro, and Enterprise. When creating a Twitter Developer account for the social login API, please consider the app and project limits associated with each tier, as well as the limits on users who can log in to your website via Twitter:

FreeBasicPro
Project limits1 Project1 Project1 Project
App limits1 App / Project2 Apps / Project3 Apps / Project
Social login limits25 users / 24 hours200 users / 24 hours75 users / 15 min

Step-by-step guide:

  1. Sign in to your Twitter account and go to developer.twitter.com. Then, click Developer Portal in the upper right corner.
Sign up Twitter Developer account

Step-by-step guide:

  1. Choose the suitable tier considering the limitations described above. In this guide, we will be creating a free account. To do this, click Sign up for a free account at the bottom of the popup.
Sign up the Twitter account - API tiers

Step-by-step guide:

  1. Please provide a comprehensive description of how you intend to use the Twitter API or Twitter Data. Make sure to specify all the details for the review to be approved successfully.
  2. Check all the checkboxes.
  3. Click Submit.
Twitter Developer Account agreemet & policy

Step 2. Configure the Twitter Application

After the account is created, the application will be created automatically. Please proceed with the steps below to configure it.

Important Information:

If you have already set up your developer account and just need to create a new app, make sure it is assigned to a “Project” section. Apps categorized under “Standalone App” won’t be able to access v2 endpoints and OAuth 2.0, resulting in errors during requests.

Step-by-step guide:

  1. Go to Projects & Apps.
  2. Go to the created App.
  3. Press the Set up button under the User Authentication Settings section.
Configuring OAuth 2.0 Twitter 
 Login Application - 1

Step-by-step guide:

  1. Choose the “Read” option under the App Permissions section.
  2. If you want to collect users’ email addresses from their Twitter account during the registration, switch the “Request emails from users” toggle to enable.
  3. Select the “Web App, Automated App or Bot” option under the Type of App section.
  4. Under the App Info section, indicate your Callback URI/Redirect URL for this application. This URL can be found in the Callback URL field in your Admin Panel -> Plumrocket -> Social Login Pro (or Twitter&Facebook Login) -> Configurations -> Twitter – Callback URL.
  5. Provide your Website URL.
  6. Indicate your Terms of service page URL.
  7. Indicate your Privacy policy page URL.
  8. Press the Save button.
Configuring OAuth 2.0 Twitter 
 Login Application - 2

Step-by-step guide:

  1. Press the Yes button to apply the app permissions.
Configuring OAuth 2.0 Twitter 
 Login Application - 3

You will see your OAuth 2.0 API keys that allow you to integrate Twitter with your Magento 2 store.

Important Information:

Please note, if you are using Magento 1, it’s essential to additionally generate OAuth 1.1 API keys (refer to the guide below). This version is still required due to the platform’s deprecation and its inability to support the latest technologies.

Step-by-step guide:

  1. Copy your Client ID to paste it later in the Magento 2 admin panel.
  2. Copy your Client Secret.
Configuring OAuth 2.0 Twitter 
 Login Application - 4

Step-by-step guide:

  1. Press the Yes, I saved it button to confirm.
Configuring OAuth 2.0 Twitter 
 Login Application - 5

OAuth 1.1 Keys Generation (only for Magento 1 integration)

If you use the Social Login Pro (or Twitter & Facebook Login) extension with Magento 1, you should generate OAuth 1.1 API keys, and paste them instead in the extension configurations. The integration will only work properly with OAuth 1.1. Please follow the next steps to generate the keys:

Step-by-step guide:

  1. Go to your project in the menu, and navigate to the Keys and tokens tab.
  2. Under the Consumer Keys section, press the Regenerate button.
Configuring OAuth 2.0 Twitter 
 Login Application - 6

Step-by-step guide:

  1. Press the Yes, regenerate button to confirm.
Configuring OAuth 2.0 Twitter 
 Login Application - 7

These are your OAuth 1.1 API keys you need to paste later in the Magento 1 admin panel. Save them in a secure location.

Step-by-step guide:

  1. Copy your API Key.
  2. Copy your API Key Secret.
Configuring OAuth 2.0 Twitter 
 Login Application - 8

Twitter Integration in Magento 2 Social Login Pro Extension

At this point, you should paste the created API keys into your Magento 2 Social Login Pro Extension configuration. In the main Magento menu, go to Plumrocket -> Social Login Pro -> Configuration -> Twitter.

Step-by-step guide:

  1. “OAuth Version“: Select the “2” value from the drop-down menu.
  2. “Cliend ID“: paste the OAuth 2.0 Client ID you copied early into this field.
  3. “Client Secret”: paste the OAuth 2.0 Client Secret you copied early into this field.
  4. Press Save Config to save your settings.
Magento 2 login with Twitter - extension configuration

Twitter Integration in Magento 1 Social Login Pro Extension

In order to integrate Twitter Login into Magento 1 Social Login Pro Extension, go to System -> Configuration -> Plumrocket Inc -> Social Login Pro -> Twitter in your main Magento menu. Then, follow the steps below:

Step-by-step guide:

  1. “Consumer Key (API Key)“: paste the OAuth 1.1 Key into this field.
  2. “Consumer Secret (API Secret)“: paste the OAuth Key Secret into this field.
  3. Press Save Config to save your settings.
Magento 1 login with Twitter - extension configuration

Configuration of the Twitter Magento social login application is now completed.

Was this article helpful?
02/28/202004/25/2024
Search
Search
Generic selectors
Exact matches only
Search in title
Search in content
Contents
Company
  • Home
  • About Plumrocket Inc.
  • Customer Stories
  • Programs & Promotions
  • Careers
  • Contact Us
Legal
  • Terms of Service
  • Privacy Policy
  • Refund Policy
  • Cookie Policy
  • Privacy Center
  • Updates & Support Policy
Resources
  • Blog
  • FAQ
  • Documentation
  • Tutorials
Partners
  • Partner Program
  • Affiliate Program
  • Official Partners
Plumrocket Inc. © 2008 - 2025
Follow Us:
  • Facebook
  • Twitter
  • LinkedIn
  • YouTube