There are so many issues on configuring this module, I'm opening this one for the purpose of improving the documentation. Support requests regarding initial configuration should be referred to this issue. Please use the comments to discuss how the documentation may be improved. Documentation fixes for both 6.x and 7.x series are welcome here.

CommentFileSizeAuthor
#3 twitter-docs.org_.txt6.12 KBxurizaemon

Comments

xurizaemon’s picture

Title: Improve setup documentation » Improve setup documentation for Twitter module

Notes taken just now while testing a couple of unrelated issues.

Posting to Twitter.

1. Download Twitter and dependent modules.

Dependencies: 
 - for 7.x, Twitter Post and Twitter Signin depend on OAuth
 - for 6.x, Twitter Post and Twitter Signin depend on OAuth (and OAuth depends on Autoload).

2. Enable the relevant modules.

3. Configure your Twitter application.

 - Visit the Twitter module configuration screen.
   - admin/config/services/twitter for D7
   - admin/settings/twitter for D6
 - Copy the Callback URL on the module configuration screen.
 - Visit https://dev.twitter.com/apps and create an application for your website.
   - Name, Description and Website are yours to choose.
   - Callback URL should be the value suggested on the module configuration screen.
 - Complete the Twitter Application configuration.
 - On the module configuration screen, update the OAuth Consumer Key and OAuth Consumer Secret with values provided by the Twitter application page.

4. If posting to Twitter, configure the content types to enable posting for.

 - Visit the Post configuration screen.
   - admin/config/services/twitter/post for D7
   - admin/settings/twitter/post for D6
 - Enable to content types you wish posted to Twitter.

5. If posting to Twitter, configure your account to post as.

 - Edit your user and then select the Twitter Accounts page.
   - user/%uid/edit/twitter for D6 and D7
 - Click 'Add Account' to authorise your Twitter app for your account.
 - Optionally, use 'Make global' to permit all users to post using this account.

6. Twitter Sign-in

to be continued ...

xurizaemon’s picture

Also, http://drupal.org/node/1361938#comment-5411616

After carefully following all advice I have managed to get this working. It appears the order in which you install/authorise/activate things is very important. For the sake of helping others, here are the necessary steps I took to achieve auto posting to Twitter:

On Drupal 7.9

1) Download and install Twitter module (activating only main module, not sub modules)
2) Create Twitter App
3) Change App permissions to Read & Write
4) Reset Application keys to obtain new consumer key & secret
5) Add Twitter account in Drupal User admin (/user/[user_number]/edit/twitter)
6) Run cron and check that twitter statuses are shown in user area (/user/[user_number]/tweets)
7) Download and install OAuth module
8) Add Twitter App Consumer key & secret to Drupal > Configuration > Web Services > Twitter
9) Activate Signin with Twitter submodule
10) Log out of Drupal and Sign back in using Twitter account (it works)
11) Activate Twitter Post & Twitter Actions sub modules
12) Choose content types to automatically post in Drupal > Configuration > Twitter > Post
13) Add new content
14) Check twitter - it works!!

NB: It is not necessary to sign in to the Drupal admin with your Twitter account to have posts automatically post to Twitter.

In my experience (as per first comment), some of the above is not necessary - you can enable all modules at once, for example.

xurizaemon’s picture

StatusFileSize
new6.12 KB
juampynr’s picture

Did you see this doc page? http://drupal.org/node/1346824

I am not sure if we mention it at the README.txt.

xurizaemon’s picture

Yes, I've seen that page. This issue really about the fact that we have lots of support requests for configuration, and that there are multiple documented approaches to config, some involving steps that are really just voodoo.

Ideally I'd like us to have an INSTALL.txt which matches the contents of the docs page on d.o.

juampynr’s picture

Completely agree. I am happy with the first approach you did at #1. You can commit that and then we can improve it.

billyverde’s picture

Category: task » support

These instructions don't seem to apply to the latest version of Drupal I'm using (7.21).

For starters, it is not possible to activate the main Twitter module without first having installed and activated the OAuth module.

Second, it is not possible to add the twitter account per the instructions in step 5 without having added the Twitter app Consumer key and secret as specified in step 8.

Has anyone else had any luck getting this module up and running with a more recent release of Drupal 7? Because I've been skipping around the steps above as Drupal allows me to, and I can't even get a pull of tweets to show up. No errors, either, it just plain doesn't work.

Thanks!

bwood’s picture

I'm stuck getting basic pull to work too

Ony’s picture

Same problem here. Can't get the Tweets to pull, and I can't even see the 'Posting' section, so obviously I can't configure or get it to show up on posts.

juampynr’s picture

Please review the updated installation instructions at http://drupal.org/node/1346824

Ony’s picture

This is what I did. Still can't get tweets to pull, still can't see the post section in the settings.

Anonymous’s picture

Same, tried many combinations of configurations but nothing :( Tried 7.5 & 7.6, using latest D7.

Anonymous’s picture

OK, was because I didn't match up user 1 account name with authenticated account... d'oh.

byronveale’s picture

dddave’s picture

Version: 7.x-3.x-dev » 7.x-6.x-dev
damienmckenna’s picture

Category: Support request » Task
Issue summary: View changes