GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
App::Twirc::Plugin::SecondaryAccount(3) User Contributed Perl Documentation App::Twirc::Plugin::SecondaryAccount(3)

App::Twirc::Plugin::SecondaryAccount - Cross post updates (DEPRECATED)

  # in config (.yml in this example)
  plugins:
      - SecondaryAccount
          username: my_other_screen_name
          password: my_other_twitter_password
          option: fb
      - SecondaryAccount
          username: yet_another_screen_name
          password: yet_another_password
          net_twitter_options:
              apiurl: http://identi.ca/api

  # In your IRC client...
  # ...post to your primary account *and* yet_another_screen_name
  post Hello, world!

  # ...post to your primary account and both secondary accounts
  post -fb Hello, universe!

  # ... post to my_other_screen name, only
  post -fbonly Hello, alternate reality.

This plugin allows cross-posting messages to multiple accounts. In configuration, you can provide an "option" value. When used as an option to "post", your message will be cross-posted to your primary account and the secondary account with that "option" value. If you do not provide an "option" value, all messages are cross-posted to the secondary account.

By appending "only" to the "option" value, your status will only be posted to the the account with that "option" value.

I use a configuration similar to the one in the synopsis to cross-post my Twitter status updates to Identi.ca, and optionally to Facebook. My Twitter screen name is "semifor". I created an account with screen name "semifor_fb" and registered it with Twitter's Facebook application. In the "twirc" configuration file, I assigned "option" value "fb" to the account.

I created another secondary account with my Identi.ca screen name. In "twirc" configuration, I used the "net_twitter_options" to specify Identi.ca's "apiurl".

Now, when I post a normal status update, it is posted to "semifor" on both Twitter and Identi.ca. If I include a "-fb" option to post, my status update is posted to Twitter, Identi.ca, and Facebook. If I add a "-fbonly" option to "post", my status update is only posted to the Facebook account.

This module relies on username/password authentication, which Twitter dropped ages ago. The author isn't using this plugin, personally, and suspects no one else is, either. So, if you are using it, file an issue, or better---a pull request. Otherwise, it will get silently dropped in a future release.

Marc Mims <mmims@cpan.org>

Copyright (c) 2015 Marc Mims

You may distribute this code and/or modify it under the same terms as Perl itself.

2015-03-31 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.