O'Reilly logo

Drupal Web Services by Trevor James

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tweet module

The Tweet module is another contributed module that allows for integration with the Twitter web service API. This module puts a link on your site's nodes to allow for posting node content to Twitter. You can also shorten the URL (to your Drupal node) that gets posted to Twitter using a combination of the Shorten URLs and the Short URL module. You may want to customize your URLs and make them your own formatted short URL instead of relying on the method Twitter uses, which is to automatically shorten any URL that's over 30 characters in length. For example, when we posted nodes to our Twitter site using the Twitter module, you'll notice that the Twitter API automatically created short URLs using the tinyurl format. An example of this ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required