Changeset 159aaad for README


Ignore:
Timestamp:
Jul 21, 2009, 9:27:32 PM (15 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.7, release-1.8, release-1.9
Children:
7430aa4
Parents:
f93b81b
git-author:
Kevin Riggle <kevinr@free-dissociation.com> (07/21/09 21:27:02)
git-committer:
Nelson Elhage <nelhage@mit.edu> (07/21/09 21:27:32)
Message:
Multiple account support

Accounts are specified as a list of hashes in the ~/.owl/twitter file.

Adds 'poll_for_tweets', 'poll_for_dms', 'publish_tweets', 'default_sender',
and 'account_nickname' options to the twitter account hashes.  They do about
what they say on the tin.

Add arguments to :twitter, :twitter-direct, and :twitter-atreply to specify
the service to use (by nickname), with sane defaults, plus documentation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • README

    r8496cc2 r159aaad  
    2525also need to set 'apihost' and 'apirealm'. See Net::Twitter or your
    2626blogging service's documentation for more information.
     27
     28Twitter.par also supports using multiple Twitter and Twitter-compatible
     29microblogging accounts from the same instance.  To enable this, add
     30additional hashes to your ~/.owl/twitter file (wrapped in a JSON list,
     31eg. [{"account_nickname":"twitter","user":"nelhage","password":"sekrit"},
     32{"account_nickname":"identica","service":"http://identi.ca/api",
     33"user":"nelhage","password":"sekriter"}]
     34
     35By default, public messages (excluding at-replies) are sent to all
     36accounts listed except those with publish_tweets set to false.
     37
     38There are several additional account-specific parameters that control the
     39behavior of Twitter.par when using multiple accounts:
     40
     41* account_nickname (string, required if multiple accounts are in use)
     42    Specify a short name by which you can refer to the account, eg.
     43    "identica" (eg. :twitter-direct nelhage identica would send a direct
     44    message to @nelhage on identi.ca from your account nicknamed "identica").
     45* default_sender (boolean, default false)
     46    If true, direct messages and at-replies you send without specifying an
     47    account will be sent using this account.  If no account has this parameter,
     48    such messages will be sent using the first account listed.
     49* poll_for_tweets (boolean, default true)
     50    If true, tweets sent by your friends on this account will be displayed
     51    in your BarnOwl message list.
     52* poll_for_dms (boolean, default true)
     53    If true, Direct Messages sent to you by your friends on this account
     54    will be displayed in your BarnOwl message list.
     55* publish_tweets (boolean, default true)
     56    If true, tweets you send without specifying an account (either with the
     57    :twitter command or mirrored from a zephyr class) will be published to
     58    this account.
Note: See TracChangeset for help on using the changeset viewer.