Get the API credentials From the Twitter Developers Account

Get the API credentials From the Twitter Developers Account

The Twitter account users can log in very easily to the Magento 2 store just by clicking the TwitterLoginButton  Twitter Login button once.  To enable this feature admin needs to first need to create a twitter app to get the API Key and the API Secret from the Twitter Account.

To get the API credentials
  1. Go to the https://apps.twitter.com link. The Login page appears as shown  in the following figure:
    Twitter_LoginPage
  2. Enter the login credentials, and then click the Log in button. The Twitter Application Management page appears as shown in the following figure:
    Twitter_ApplicationManagementPage
  3. Click the Create New App button. The page appears as shown in the following figure:
    SocialLoginM2_TwitterCreateAnApplication
  4. In the Name box, enter the required name of the Twitter App.
  5. In the Description box, enter the description of the Twitter App.
  6. In the Website box, enter the Website URL.
  7. In the Callback URL box, append cedvendorsociallogin/twitter/connect/ to the Magento 2 base URL.
  8. Select the checkbox to accept the Developer Agreement.
  9. Click the Create your Twitter application button. The Twitter app is created and a success message appears.
    SocialLoginM2_TwitterAppCreated
  10. Click the Keys and Access Tokens tab. The page appears as shown in the following figure:
    SocialLoginM2_Twitter_KeysAndAccessTokens
  11. Copy the Consumer Key (API Key) and the Consumer Secret (API Secret) respectively and keep it safely to paste them in the Twitter Configuration Settings page available in the Magento 2 Admin panel.

    • Related Articles

    • Get the API credentials From the Facebook Developers Account

      Facebook is also one of the most popular social networking sites on the web. The Facebook account users can log in very easily to the Magento 2 store just by clicking the Facebook Login button once. To enable this feature admin needs to get the App ...
    • Get the API credentials From the Google Developers Console

      Google is one of the very well-known sites on the web. Generally, most of the users have a Google account so they can log in very easily to the Magento 2 store just by clicking the Google Login button once. To enable this feature admin needs to get ...
    • Get the API credentials From the LinkedIn Developers Account

      LinkedIn is also quite a popular social networking site for professionals. Admin having the LinkedIn account can very easily log in to the Magento 2 store just by clicking the LinkedIn Login button once. To enable this feature admin needs to first ...
    • Social Login Configuration Settings

      After installing the Social Login M2 add-on, the admin has to set up the configuration settings to enable the features of the social login add-on. Admin has to first get the API credentials from the following social networking sites: Google Facebook ...
    • Overview of Magento 2 Social Login

      Magento 2 Social Login is the add-on developed for the CedCommerce Magento® 2 to provide the feature to log in or register the account without filling all the personal details. Hence, it provides the one-click login features to the front-end users ...