How to create Twitter Application for Cakephp User Management Plugin

Cakephp 2.x and 3.x User Management Plugin provides you login and registration with Twitter. For enable this feature you must create Twitter Application for Consumer Key and Consumer Secret.

Lets see How to create your first Twitter Application.

In order to create a Twitter Application the basic requirements are:

  1. A Domain Name (for example ektanjali.com)
  2. A Twitter Account with Developer Application Enabled (mostly It comes with).

Things to do in your Twitter Account-

  1. Go to https://apps.twitter.com/ and log in with twitter username and password.
  2. Click on Create New Appnew app
  3. Enter the Details as per below screen shot, Make sure you have entered correct Website and Callback URL, Callback URL must be http://www.yourdomain.com/login/twt, Click on Create your Twitter applicationapp detailsapp details
  4. Click on Settings and change settings as per below screen shotapp settings
  5. click on Keys and Access Tokens you will get twitter Consumer Key and Consumer Secret (see screen shot below)
    app key and secret
  6. Now note down Consumer Key and Consumer Secret and log in your site with Admin, go to All Settings, find Twitter Consumer Key and Twitter Consumer Secret edit them enter your twitter Consumer Key and Consumer Secret here and Save them.
  7. For enable, Log in with Twitter on your Site, edit setting Want to use Twitter Connect on your site? and check it save it.

Further If you have any questions please let me know on info@ektanjali.com.

Speak Your Mind