Twitter Module for Gallery 3: Share Your Photos, Movies, and Albums with your Followers

I've just packaged and posted the final 1.0 release of a Twitter module for Gallery 3. Share photos, movies, and albums with your Twitter followers, directly from Gallery. Give it a try!

Features

  • Send Tweets directly from Gallery
  • Failed Tweets saved for subsequent attempts
  • Integrates with bit.ly module to shorten item URLs

Support, Bug Reports

Please post problems, questions, and comments to http://gallery.menalto.com/node/100791

Installation

  1. Download the module and unpack the module to your Gallery 3 modules directory
  2. Enable the module via Admin > Modules
  3. Register your Gallery with Twitter
    1. Application Name: My Awesome Gallery (cannot contain 'Twitter')
    2. Description: Short summary of your Gallery (optional)
    3. Application Website: http://yourgallery.com
    4. Organization: Your name or company
    5. Application Type: Browser
    6. Callback URL: http://yourgallery.com/path
    7. Default Access Type: Read & Write
    8. Application Icon: Use the Gallery or your site logo
  4. Configure the module at Admin > Settings > Twitter
    1. Enter the Twitter Consumer Key and Secret provided by Twitter
    2. Edit the Default Tweet. The following replacement tokens are available:
      1.  %type: photo, movie, album
      2.  %title: The item's title
      3.  %description The item's description
      4. The full item link or bit.ly shortened URL is then appended to this.

User OAuth Verification Process

Registered Gallery users will be prompted to allow Gallery to send
Tweets on their behalf the first time they select "Share on Twitter."
This is a one-time verification valid until the user revokes access for
Gallery.
Also available via Git in gallery3-contrib

Roadmap

version 2

  • Display Twitter profile/follow links on Gallery user profile pages.
  • Provide "Share on Twitter" for anonymous users.
  • Display item (re)tweets.

History

2011-05-19 - 1

  • No change from 1 beta2.

2011-03-15 - 1 beta2

  • Allow users to change from one Twitter account to another from their profile page.
  • Compose Tweet JavaScript widget fixes to read default options, accept custom widget options.
  • Disable the "Tweet" button if the message is over 140 characters.
  • Truncate default tweet values longer than 140.

2011-02-15 - 1 beta1

Credits

Twitter OAuth support courtesy of Abraham Williams' awesome TwitterOAuth PHP library.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <codeblock> <blockquote> <h1> <h2> <h3> <h4> <h5> <img>
  • Lines and paragraphs break automatically.
  • You may link to webpages through the weblinks registry
  • Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
copyright © 2011, 2 tablespoons