Twitter Status Update + Direct Message
mIRC Code
+ 3 likes
Please Register to submit score.
| Average Score | 7.0 (of 3 scores) |
| Date Added | Apr 01, 2009 |
| Last Updated | Apr 09, 2009 |
| Tags | api direct message status twitter update |
Introduction
The character counter gets lost for a second, if you try to paste more than 140 characters into the update box, but as soon as you click the edit screen again, it catches up.

Just added a direct message system with tons of new routines. If you have the old one, unload it first. Direct message is on the menu.
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 1, 2009 11:18 pm
Posted on Apr 1, 2009 11:18 pm
the on sockopen event looks like HM2K's. Did you use there code to make this? Like did you use it to get ideas to make this? Im not saying you ripped it by any means im just asking if you used his to base this from.
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 1, 2009 11:26 pm
Posted on Apr 1, 2009 11:26 pm
Nice work, now the only thing it's missing is an alias to post to Twitter without using the dialog. I'm just waiting for an mIRC Twitter script to keep up with posts in real time.
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 1, 2009 11:39 pm
Posted on Apr 1, 2009 11:39 pm
Geeze, I looked at posts and scripts till my eyes were about to bleed, trying to get the proper syntax for this. The only mirc script I found was this one http://forum.swiftirc.net/viewtopic.php?f=34&t=21826&hilit=twitter by hixxy. I took one line from it
But this line can be anything you want or you can even remove it. The API for twitters servers is very picky. I almost gave up on this because I couldn't get the server to authenticate.
I finally found this -->> http://apiwiki.twitter.com/REST+API+Documentation#Authentication That's where I got the sockread section. It's spelled out in black and white exactly as I have it. It seems twitter, unlike other sites, is willing to tell you exactly how to write scripts to access their resources. It shows you how to access anything you can access from the site on that page :)
| Code: |
| sockwrite -n $sockname User-Agent: mIRC/ $+ $version |
I finally found this -->> http://apiwiki.twitter.com/REST+API+Documentation#Authentication That's where I got the sockread section. It's spelled out in black and white exactly as I have it. It seems twitter, unlike other sites, is willing to tell you exactly how to write scripts to access their resources. It shows you how to access anything you can access from the site on that page :)
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 1, 2009 11:46 pm
Posted on Apr 1, 2009 11:46 pm
I think the alias is already in the script Hawkee. I put the syntax at the top incase someone wanted to use it with out the dialogs.
| Code: |
;Syntax $1=username:password $2-=Twitter Update message alias TwitterUp { sockclose TwitterUp .set %TwitterUp.Info $encode($1,m) set %TwitterUp.Update $+(status=,$fixurl($2-)) set %TwitterUpurl /statuses/update.xml set %TwitterUpsite twitter.com sockopen TwitterUp %TwitterUpsite 80 .timer-TwitterUp 1 15 TwitterUp.timeout } |
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 1, 2009 11:51 pm
Posted on Apr 1, 2009 11:51 pm
My bad, I overlooked that. Good job.
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 2, 2009 6:56 am
Posted on Apr 2, 2009 6:56 am
I don't use twitter so I can't test but if you do use the alias instead of the dialog I think you'd get /did errors.
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 2, 2009 1:02 pm
Posted on Apr 2, 2009 1:02 pm
O.o Good Point BlitzJager , I never thought of that. I'll scroll up in a few minutes and fix that. Thanks :)
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 2, 2009 1:33 pm
Posted on Apr 2, 2009 1:33 pm
Updated to echo -a when the dialog isn't open. Thanks for pointing that out BlitzJager. I hate script that keeps dropping errors in your status ;/
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 2, 2009 5:54 pm
Posted on Apr 2, 2009 5:54 pm
very nice, can we figure out how to change this now? "less than 20 seconds ago from web "
maybe make it say IRC or mirc?
maybe make it say IRC or mirc?
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 2, 2009 6:33 pm
Posted on Apr 2, 2009 6:33 pm
I tried everything to get it to say something other than "from web" DJTwittr. No luck so far.I don't give up easily though. If I find a way I will post it ASAP. If anyone knows what will cause twitters API to change this, please let me know. I'm guessing that there has to be a match to a certain application or else it defaults to web. I thought at first, this line
Would change it,but I guess not. Too bad :( It would be nice to make it stuff like "From his limo'" and "From the Club".
| Code: |
| sockwrite -n $sockname User-Agent: Lawnmower 9.64 |
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 2, 2009 7:32 pm
Posted on Apr 2, 2009 7:32 pm
It won't change it because the script is connecting to "web" to update the status, therefore it'll say "web" because that's the technique it is using to update the status.
Another thing that would be awesome is a script like this for Ping.fm.
Another thing that would be awesome is a script like this for Ping.fm.
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 2, 2009 7:57 pm
Posted on Apr 2, 2009 7:57 pm
Actually, I found the solution to that here -->> http://apiwiki.twitter.com/FAQ
So if the approve my request & this line is in the POST
It will read from Twitter-IRC
| Quote: |
| How do I get “from [MyApp]” appended to updates sent from my API application? Just fill out this handy form! Note that you must have a Twitter account and must be signed in to submit the form. We only approve applications and sites that appear legitimate and in the best interest of Twitter, Inc. and our community. We do not approve requests to link to personal sites and weblogs, marketing materials, or anything that rubs us the wrong way. |
So if the approve my request & this line is in the POST
| Code: |
| sockwrite -n $sockname User-Agent: Twitter-IRC 9.64 |
It will read from Twitter-IRC
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 3, 2009 11:06 pm
Posted on Apr 3, 2009 11:06 pm
Nice..I don't use twitter myself but this looks really nice.
Now how about facebook? :p
Now how about facebook? :p
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 4, 2009 1:55 pm
Posted on Apr 4, 2009 1:55 pm
I don't have a facebook account tv3636. I might look into it though. MaxEvens commented that you could use ping.fm, which updates for facebook and many other sites at the same time. I might take a look at that also.
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 7, 2009 10:51 am
Posted on Apr 7, 2009 10:51 am
nice job lawnmower man... i dont think theres an issue with twitter not approving.. it's a great idea
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 7, 2009 8:08 pm
Posted on Apr 7, 2009 8:08 pm
Thanks DJTwittr :) I'm working on getting the rest of twitter api sorted out. I have a direct message almost done. I'm not sure if I should post it or wait till I have the rest of the api done.
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 9, 2009 9:17 am
Posted on Apr 9, 2009 9:17 am
I'd submit what you got as long as it works... we can work out kinks and bugs with you
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 9, 2009 5:34 pm
Posted on Apr 9, 2009 5:34 pm
Just added Direct Message System to this. It seems to be working good. Let me know if you find any bugs.
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 9, 2009 5:54 pm
Posted on Apr 9, 2009 5:54 pm
Very nice work on the DM update. Next thing we know this will be a full fledged Twitter app
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 9, 2009 6:10 pm
Posted on Apr 9, 2009 6:10 pm
Yep, that's the plan Hawkee. I actually have most of it done :)
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 16, 2009 8:01 pm
Posted on Apr 16, 2009 8:01 pm
I never got the excitement from posting what you're doing so people know, like, "Going to the toilet."
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 16, 2009 8:03 pm
Posted on Apr 16, 2009 8:03 pm
@Gummo It's really more about posting what you're reading or what you've found. I've also found it pretty useful for asking questions. Lots of professional uses beyond just personal activities.
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 16, 2009 8:05 pm
Posted on Apr 16, 2009 8:05 pm
Me either Gummo, but it is definitely a popular trend. I made this from a request and then I've continued developing it because the API interface is really cool.
Just found this btw -->> http://search.twitter.com/search?q=taking+a+shoot
I think the last word is censored ;/
Just found this btw -->> http://search.twitter.com/search?q=taking+a+shoot
I think the last word is censored ;/
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 16, 2009 8:16 pm
Posted on Apr 16, 2009 8:16 pm
@Hawkee I am just now seeing the business potential. The pure marketing power of having 10 thousand followers is insane. Someone with a million could have as much marketing power as the super bowl.
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 16, 2009 8:23 pm
Posted on Apr 16, 2009 8:23 pm
Exactly, it's got quite a lot of potential for branding and reaching out to customers. It helps add a personal edge to a brand that may have seemed untouchable before.
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 16, 2009 8:45 pm
Posted on Apr 16, 2009 8:45 pm
Twitter is pretty much anything. From personal to business. It's used by marketers, bloggers, developers, videographers, photographers, etc. There's no wrong or right way to use Twitter. It's just Twitter. Twitter means "brief rapid updates" pretty much, so that's all it is, really.
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 16, 2009 11:56 pm
Posted on Apr 16, 2009 11:56 pm
It seems like it's more for people who can do this at many times during the day >.>
The concept is good, and obviously it's popular, but eh.
The concept is good, and obviously it's popular, but eh.
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 17, 2009 1:16 am
Posted on Apr 17, 2009 1:16 am
It's not only popular, but Twitter is now a part of the Federal Emergency Response Network.
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Apr 17, 2009 12:47 pm
Posted on Apr 17, 2009 12:47 pm
Don't get me started on this shiite..
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on May 4, 2009 4:33 pm
Posted on May 4, 2009 4:33 pm
omg. i am gunna make a site that i can link to every time i see one of FordLawnmower's ****useful**** scripts.... (me getting tired of writing complements to the guy). but once again i love it because why? it is useful. keep up the good work FordLawnmower!!!!!
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on May 4, 2009 4:51 pm
Posted on May 4, 2009 4:51 pm
Thanks PATX. I actually use this script quite a bit. As twitter has become more and more popular, they've gotten backed up from time to time, but the API seems to always work :)
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on May 23, 2009 8:41 pm
Posted on May 23, 2009 8:41 pm
ok, da more i use twitter the more i am liking this. ty for that user agent link... going to be using that for http://h-twt.googlecode.com/ << my python twitter client :p
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on May 23, 2009 9:12 pm
Posted on May 23, 2009 9:12 pm
That looks pretty cool PATX :)
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on May 24, 2009 4:58 am
Posted on May 24, 2009 4:58 am
Not a big fan of twitter :/ but hey, this addon seems pretty cool. the script itself is good, but the dialog is f'ugly man!
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on May 24, 2009 5:29 pm
Posted on May 24, 2009 5:29 pm
Great code. Tweets from IRC and manage multiple accounts. I just wish there was a dialogue where I could read the tweets of everyone I was following. Oh well, I'll have to keep using Firefox for that.
Thanks, keep up the good work.
Thanks, keep up the good work.
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on May 24, 2009 5:35 pm
Posted on May 24, 2009 5:35 pm
I'm going to add that sloth. It's not very hard to do. I've been trying to figure out how to get twitters new Oauth to work from mirc. They are going to discontinue the use of BASIC Auth ;/
If I get a few free hours I will add a user timeline window. Just check this post from time to time.
@Jonesy44 I know. After I get a few things sorted I'm going to DCX the dialogs..
If I get a few free hours I will add a user timeline window. Just check this post from time to time.
@Jonesy44 I know. After I get a few things sorted I'm going to DCX the dialogs..
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on May 25, 2009 3:18 am
Posted on May 25, 2009 3:18 am
wicked :) i look forward to seeing it ;D
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on May 25, 2009 8:20 am
Posted on May 25, 2009 8:20 am
@FordLawnmower i am having the same problem with oauth! i am actuly just using the giving example of the python google app engine, i have that running and yet there r still problems!
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on May 25, 2009 8:35 am
Posted on May 25, 2009 8:35 am
FordLawnmower I would recommend using MDX over DCX unless you are planning on using obscure controls like ColorCombo and UpDown. DCX is actually alot more buggier than its older cousin, as it loads itself inside mIRC and often crashes it if a person is using another DCX enabled script.
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on May 25, 2009 8:44 am
Posted on May 25, 2009 8:44 am
Nice script... Easy to use, and straight forward.
and also, I got to agree with ^Neptune..
and also, I got to agree with ^Neptune..
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Jul 27, 2009 9:20 pm
Posted on Jul 27, 2009 9:20 pm
This is a kick ass snippet! Simple to use as 1.2.3 ...and appears to be bug free!
Thanks!!!!!!!!
Thanks!!!!!!!!
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Jul 27, 2009 10:23 pm
Posted on Jul 27, 2009 10:23 pm
Thanks Ayon :)
Thanks ScriptN00b :)
I got a little busy/distracted for a bit there. I need to expand on this script.
I've written routines for every feature of twitter. I just need to sit down and figure out how to implement them here.
The best thing I think I have is a alias that will delete all your direct messages. I hate those damn things.
I'll add this to my to do list :P
Thanks ScriptN00b :)
I got a little busy/distracted for a bit there. I need to expand on this script.
I've written routines for every feature of twitter. I just need to sit down and figure out how to implement them here.
The best thing I think I have is a alias that will delete all your direct messages. I hate those damn things.
I'll add this to my to do list :P
mIRC Snippet:
Twitter Status Update + Direct Message
Posted on Jul 28, 2009 7:32 am
Posted on Jul 28, 2009 7:32 am
Just loaded the code there into my remotes and got
when I tried to click on 'Twitter Update'
No idea why..
P.S: I look forward to the new dialog design ;)
| Code: |
| * /dialog: 'TwitterUpdate' invalid table, in 'text' 10 (line 92, Twitter-IRC.ini) |
when I tried to click on 'Twitter Update'
No idea why..
P.S: I look forward to the new dialog design ;)











