 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
agdurrette
Joined: 07 Jan 2009 Posts: 18
|
Posted: Thu Jun 18, 2009 10:20 pm Post subject: Tweeter: A Twitter status updater. |
|
|
Tweeter is a program that will update your Twitter status and soon to do more with social networking sites.
Download: here
You will also need httpQuery.ahk available here
Code:
| Code: | #include httpQuery.ahk
#NoTrayIcon
Gui, Add, Text,, Username:
Gui, Add, Text,, Password:
Gui, Add, Text,, What are you doing?:
Gui, Add, Edit, vUsername ym
Gui, Add, Edit, vPassword +Password
Gui, Add, Edit, vstuff
Gui, Add, Button, default, Update
Gui, Show,, Twitter
Return
ButtonUpdate:
Gui, Submit
username = %Username%
password = %Password%
URL := "http://" username ":" password "@twitter.com/statuses/update.xml?"
status = %stuff%
POSTdata := "status="status
httpQUERY(buffer:="",URL,POSTdata)
ExitApp
GuiClose:
ExitApp
|
To do:
Ability to save the username and password. don't know how to do that will find out tho.
Add support for Facebook, Myspace, and email sites such as Gmail or Yahoo.
Make it notify you when a status was updated or an email was received.
Change the name.
Make an icon.
Tell me what you think.
Any help will be appreciated.
Last edited by agdurrette on Fri Jun 19, 2009 2:07 pm; edited 2 times in total |
|
| Back to top |
|
 |
icefreez
Joined: 15 May 2007 Posts: 169
|
|
| Back to top |
|
 |
agdurrette
Joined: 07 Jan 2009 Posts: 18
|
Posted: Fri Jun 19, 2009 1:59 pm Post subject: |
|
|
yes it is. Sorry i did not post a link to that  |
|
| Back to top |
|
 |
HCProfessionals
Joined: 18 Jun 2007 Posts: 166
|
|
| Back to top |
|
 |
HCProfessionals
Joined: 18 Jun 2007 Posts: 166
|
Posted: Sun Jul 12, 2009 3:25 pm Post subject: |
|
|
This would be the best possible way to go for updating facebook statuses: http://m.facebook.com/
After you have logged in, view the page source and you'll see the form for "what's on your mind?".
Another link that they help: http://forum.iopus.com/viewtopic.php?t=3527
I'll do a little research on MySpace next, but this should get you going.  |
|
| Back to top |
|
 |
HCProfessionals
Joined: 18 Jun 2007 Posts: 166
|
Posted: Sun Jul 12, 2009 4:51 pm Post subject: |
|
|
I have tried using this so far and didn't get anywhere:
| Code: | | URL := "http://" username ":" password "@m.facebook.com/home.php?" |
I also recognize that the textarea name is the same as twitter: "status"
Here is the facebook source: (This is mine by the way)
| Code: |
<form action="/a/home.php?r050fa1ac&refid=7" method="post">
<input type="hidden" name="post_form_id" value="7fea01bf265f2e966786f5ade0b8a9b7" />
<div class="nopad">What's on your mind?</div><small>Robert</small><br />
<textarea name="status" rows="2" maxlength="420"></textarea><br />
<input type="submit" name="update" value="Update Status" class="button" />
</form>
|
|
|
| Back to top |
|
 |
mrpleco
Joined: 14 Sep 2009 Posts: 37
|
Posted: Wed Feb 24, 2010 4:10 am Post subject: |
|
|
| I've been browsing around and this is very useful for a tool that I'm making, but I have a question. Does anybody know how to create a similar tool to this to create direct messages? |
|
| Back to top |
|
 |
mrpleco
Joined: 14 Sep 2009 Posts: 37
|
Posted: Wed Feb 24, 2010 6:54 am Post subject: |
|
|
| mrpleco wrote: | | I've been browsing around and this is very useful for a tool that I'm making, but I have a question. Does anybody know how to create a similar tool to this to create direct messages? |
Very straightforward, just update the status with d tousername message. =) |
|
| Back to top |
|
 |
RocknRoller Guest
|
Posted: Wed Feb 24, 2010 3:04 pm Post subject: |
|
|
| Great! it is now even easier to let the world know when I am sitting on the toilet! |
|
| Back to top |
|
 |
trik
Joined: 15 Jul 2007 Posts: 1320
|
Posted: Wed Feb 24, 2010 4:11 pm Post subject: |
|
|
Great start! Short, elegant, but can still be shaped up a bit.
| Code: | #include httpQuery.ahk
#NoTrayIcon
Gui, Add, Text,, Username:
Gui, Add, Text,, Password:
Gui, Add, Text,, What are you doing?:
Gui, Add, Edit, vUsername ym
Gui, Add, Edit, vPassword +Password
Gui, Add, Edit, vStatus
Gui, Add, Button, Default gUpdate, Update
Gui, Show,, Twitter Status Updater
Return
Update:
Gui, Submit, NoHide
URL := "http://" . Username . ":" . Password . "@twitter.com/statuses/update.xml?"
POSTdata := "status=" . Status
httpQUERY(buffer:="", URL, POSTdata)
Return
GuiClose:
ExitApp |
Changed:
A few variable names
Title bar
When you press the update button, the GUI stays open and the program active
| RocknRoller wrote: | | Great! it is now even easier to let the world know when I am sitting on the toilet! |
You do not have to use this program. _________________ Religion is false. >_> |
|
| Back to top |
|
 |
RocknRoller Guest
|
Posted: Thu Feb 25, 2010 4:04 am Post subject: |
|
|
| trik wrote: |
| RocknRoller wrote: | | Great! it is now even easier to let the world know when I am sitting on the toilet! |
You do not have to use this program. |
You are right! Sorry for the offense... there are 3 words I can't hear anymore... iPhone, Twitter, Facebook... |
|
| Back to top |
|
 |
Guest
|
Posted: Sat Feb 12, 2011 7:02 pm Post subject: |
|
|
| does this still work .. it doesnt work for me |
|
| Back to top |
|
 |
MasterFocus
Joined: 08 Apr 2009 Posts: 3035 Location: Rio de Janeiro - RJ - Brasil
|
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|