This post is not about putting tweets on your site. You can do that I but I have no need for that myself. This post concerns the other direction – posting TO Twitter
Good deal. I am now posting to Twitter. Not in the way that I want to but it is at least working. This service is a lot like Mollom and IFlychat.com; you have create an application on the service’s side and then use the keys that they create for you to connect. That part is easy. Here are a bunch of links that will tell you how to do this.
http://drupal.org/node/1016584 – Stuff for the Drupal Side
http://fatedtoend.com/content/how-get-drupal-post-updates-twitter-again-or-how-fix-twitter-module-drupal – this is really for drupal 6 but the concepts for OAuth are the same.
Make sure that your app has read write privs.
I’m not using the sign-in through Twitter the way I use FB. It doesn’t appear that you glean the email addresses by using Twitter this way.
Once you have all the OAuth stuff in place the mods installed and configured, it is time to post to make sure the basic stuff works. I’ll get into what I want to do with it myself on a different post since it is somewhat more involved.
- Create a New Content Type – just take some default values and name it Twitter Posts
- Go to the breadcrumb below and enable Twitter Posts as shown
- Now add content to the content type. I just added some text on the body of the node and saved it
- Make sure that Announce this post on Twitter is checked
- Save it.
- You should see – Successfully posted to Twitter
Filed under: Uncategorized |