Closed Bug 503019 Opened 16 years ago Closed 6 years ago

[MODULE] IRC <-> Twitter gateway module

Categories

(Webtools Graveyard :: Mozbot, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: will, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11 Build Identifier: Mozbot/2.5 i'm not entirely sure how to distinguish between twitterers. currently, it prepends the user's irc nick, though it probably should be at the end. and/or i'm definitely open to other ideas. Reproducible: Always needs to be removed: (local mod) use lib qw( /root/lib/CPAN/lib /root/lib/CPAN/lib/arch );
Status: UNCONFIRMED → NEW
Ever confirmed: true
2 additions planned: 1. will emote back the URL to the tweet instead of merely parroting what the user typed. 2. at the request of foswiki's "marketing" guy, i will also add the ability to monitor the twitter feed and display them in the irc channel.
For addition no. 2, would it be simpler to use the RDF module in mozbot?
OS: Linux → All
yes, thank you---scratch #2. i msg'ed "vars RDF sites '+|twitter.com|http://twitter.com/statuses/user_timeline/17037133.rss'" for #foswiki and it works great.
Summary: IRC -> Twitter gateway module → [MODULE] IRC -> Twitter gateway module
Will, I am looking at expanding your module to include an ability to take tweets posted as URLs to the channel, grab the status number from the URL, and do a get statuses/show/:id as described here: https://dev.twitter.com/docs/api/1/get/statuses/show/%3Aid However, since I've used the API last they've added entities (urls hidden by t.co and media), which you can expand (I'd rather see a long URL or at least a preview of the long URL next to the shortened t.co link when displaying a tweet in channel) using the entities API: https://dev.twitter.com/docs/tweet-entities My goal: as it is, if a user posts bug ID in channel, firebot responds with bug details. I want to see a world where a user posts a tweet link in channel, firebot responds with full text of tweet and either preview (display_url next to url, e.g. http://maps.google.com/maps http://t.co/abc123 ) or full URL (expanded_url, e.g. http://maps.google.com/maps?q=somejunk&d=someotherjunk) depending on how incredibly long the expanded_url really is. I may get this done myself, I may not, but if I post about it here someone else who has experience may get it done.
Due to, as Thomas mentioned, using the RDF module may not be enough anymore, due to t.co and media entities. Looks like we're going to have to implement addition #2 anyway. I would also like to see the addition of searches as well, similar to how ZNC's twitter module works.
Summary: [MODULE] IRC -> Twitter gateway module → [MODULE] IRC <-> Twitter gateway module

Mozbot/Firebot is in maintenance-only mode; no further changes are planned.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.