Here it is!!!!

http://cvs.drupal.org/viewvc.py/drupal/contributions/sandbox/robloach/mo...

Requires Bot, Bot Auth, and Twitter. Enjoy!

Although I don't think Twitter Bot belongs in the Bot package, it seems fitting to make an issue queue for it somewhere either way. cwgordon7, or I will sometime make an addition Bot Package (Bot_Extras?).

TwitterBot: twitter Hello! I'm posting this from IRC!
RobLoach: Successfully posted to Twitter as RobLoach.

Things to do:

  1. Integrate bot_auth into Bot core.
  2. Have it reply with the post URL
CommentFileSizeAuthor
#1 bot_twitter.patch3.23 KBRobLoach
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RobLoach’s picture

Assigned: Unassigned » RobLoach
Status: Active » Postponed
FileSize
3.23 KB

Although I'm hesitant on thinking that bot_twitter actually belongs in the Bot main package, I still thought I should turn this into a patch. This assumes that the Authentication patch is in.

RobLoach’s picture

Bot Auth is here: bot_auth().

RobLoach’s picture

Title: Twitter Bot » Twitter Bot - Post to Twitter on IRC
Project: Bot » Twitter
Version: 6.x-1.x-dev » 7.x-3.x-dev
Assigned: RobLoach » Unassigned
Status: Postponed » Active

Moving the issue to Twitter module, as bot auth is now part of Bot module itself.

RobLoach’s picture

Status: Active » Needs work

juampy asked for an example:

Depends on Twitter module and Bot module.

RobLoach: /msg Druplicon identify RobLoach/MySecurePassword!!!!111one
Druplicon: RobLoach: You are now identified as RobLoach
RobLoach: Druplicon: twitter Sup Twitters! You guys are awesome.
Druplicon: Robloach: Successfully posted to Twitter.

Still not even sure if this would live in the Twitter module either. Maybe moved to http://drupal.org/project/twitter_bot . Needed some place to put the .patch I put together. Either way, the code is there.

dddave’s picture

Version: 7.x-3.x-dev » 7.x-6.x-dev
DamienMcKenna’s picture

Issue summary: View changes
Status: Needs work » Needs review
DamienMcKenna’s picture

Project: Twitter » Bot
Version: 7.x-6.x-dev » 7.x-1.x-dev

I think this would be better as a separate addon for the Bot module.