Submitted by Erik Wegner
on
Body
These steps are neccessary to establish a connection between a drupal site and a twitter account. This new way is required since twitter changed their third-party authentication to oauth on Aug. 31 2010.
- Module OAuth in Version 2.02
- Module Twitter in Version 3.0beta3
- Activate module OAuth
- Configure module OAuth (admin/settings/oauth):
- OAuth cryptography: RSA-SHA1
- Save
- Call update.php, if the twitter module was used before the OAuth change
- Register a new application at twitter
- Log in to twitter in your browser
- Open the url https://twitter.com/apps/new
- Fill in the aplication form:
- Application Name: distinguished name
- Description: at least 10 characters to describe your application
- Application website: your drupal web site url
- Organization: the name of your drupal web site
- Website: your drupal web site url
- Application Type: Browser
- Callback URL: http://{www.mydrupalsite.com}/twitter/oauth
- Default Access type: Read & Write
- After you submitted the form, you receive your consumer key and consumer secret.
- Enter these keys into your drupal site's twitter configuration (admin/settings/twitter).
- Set up general twitter settings (admin/settings/twitter/post)
- Link your user account to your twitter account: My account » Edit » Twitter Accounts » Add account
- You get forwarded to twitter to allow the connection.
- If all users will post using this twitter account, you can make the account global.
Taken from: http://drupal.org/node/404470#comment-3415614