I've placed a script device export in the downloads area (pending approval) that will allow HouseBot to send updates to a Twitter account. Import the .hbx and you'll get a Twitter script device and a Twitter.vbs file in the Config\Scripts folder. Follow the instructions and start tweeting...
Here's a link to the file in the downloads area: http://www.housebot.com/DownloadNow.php ... witter.hbx
Terry
Twitter Update Script Device
Twitter Update Script Device
Last edited by roussell on Fri Jul 10, 2009 1:57 am, edited 1 time in total.
Re: Twitter Update Script Device
It's approved and now available in the Downloads section of the main site under the Configuration Imports tab.
Thanks for the contribution!
Thanks for the contribution!
Scott
-
- Senior Member
- Posts: 136
- Joined: Tue Oct 21, 2003 4:16 pm
- Location: The Netherlands
Re: Twitter Update Script Device
This script is not working, I think because Twitter changes his login autorization is there another way to use Twitter in Housebot?
Jacco
Jacco
-
- Member
- Posts: 54
- Joined: Sat Apr 18, 2009 8:53 pm
Re: Twitter Update Script Device
Twitter has moved from basic authentication to oAuth.
If you want I can create a new script later today, shouldnt be to hard.
LostDreamer
If you want I can create a new script later today, shouldnt be to hard.
LostDreamer
-
- Senior Member
- Posts: 136
- Joined: Tue Oct 21, 2003 4:16 pm
- Location: The Netherlands
Re: Twitter Update Script Device
Well if you can, I will appreciate it.
Regards, Jacco
Regards, Jacco
-
- Member
- Posts: 54
- Joined: Sat Apr 18, 2009 8:53 pm
Re: Twitter Update Script Device
in favor of creating a new plugin you could also use the SuperTweet service:
http://www.supertweet.net/about/documentation
For this, you can setup oAuth between an account at supertweet and your account at twitter and use the old VBscript from the download section with the only adjustment being that you use the URL http://api.supertweet.net instead of Twitter.com
Seeing there are no examples for VBscript to do this, I would either go this way or go with PHP for this (seeing I allready have a webserver running as well).
Regards,
LostDreamer
http://www.supertweet.net/about/documentation
For this, you can setup oAuth between an account at supertweet and your account at twitter and use the old VBscript from the download section with the only adjustment being that you use the URL http://api.supertweet.net instead of Twitter.com
Seeing there are no examples for VBscript to do this, I would either go this way or go with PHP for this (seeing I allready have a webserver running as well).
Regards,
LostDreamer
-
- Senior Member
- Posts: 136
- Joined: Tue Oct 21, 2003 4:16 pm
- Location: The Netherlands
Re: Twitter Update Script Device
It is not working, I changed it in
http://api.supertweet.net/1/statuses/update.xml
REQUEST: /1/statuses/update.xml
ERROR: Internal error: null
Is this evertying what we have to replace?
http://api.supertweet.net/1/statuses/update.xml
REQUEST: /1/statuses/update.xml
ERROR: Internal error: null
Is this evertying what we have to replace?
-
- Senior Member
- Posts: 136
- Joined: Tue Oct 21, 2003 4:16 pm
- Location: The Netherlands
Re: Twitter Update Script Devic
Well, It is working now, used an other script, but that was also not working I had an errorcode 403
This means that I send duplicate message's. I changed the message and now It is working
strMessage = GetPropertyValue("System Time.Time")
Set objXML = CreateObject("Microsoft.XMLHTTP")
objXML.Open "POST", _
"http://api.supertweet.net/1/statuses/update.xml", _
False, _
strUserName, _
strSuperTweetPassword
objXML.setRequestHeader _
"Content-Type", _
"application/x-www-form-urlencoded "
objXML.Send "status=" & strmessage
SetPropertyValue "Twitter.Returned", objxml.responsetext
This means that I send duplicate message's. I changed the message and now It is working
strMessage = GetPropertyValue("System Time.Time")
Set objXML = CreateObject("Microsoft.XMLHTTP")
objXML.Open "POST", _
"http://api.supertweet.net/1/statuses/update.xml", _
False, _
strUserName, _
strSuperTweetPassword
objXML.setRequestHeader _
"Content-Type", _
"application/x-www-form-urlencoded "
objXML.Send "status=" & strmessage
SetPropertyValue "Twitter.Returned", objxml.responsetext