Description: Script to update Lareta.net http://lareta.net/ (a micro-blogging service based in Laconica http://laconi.ca/ in galician language)
Dependencies: Kdialog and Curl.
Based on "Twitter KDialog Script" http://www.kde-apps.org/content/show.php/Twitter+Kdialog+script?content=56641
INSTALL: Save the script to a directory in your PATH (run 'echo $PATH' to find the places in your path). Edit the script and replace "usuario:contrasinal" with your user:password credentials. Run this script from anywhere within KDE. Easiest is to rightclick on your desktop and choose "New » Shortcut to application", and then point it to the twitter.sh script.
Thank you for making your script public!
However: I guess that I will not use it untill there are some crossposting abilities.
While I know that this should be built in in Laconica, I thought about if it wouldn't be nice to post it meanwhile two times - To identi.ca/Laconica and also to Twitter...
This is a simple crossposting-script for two microblogging services. In this case for Twitter and http://identi.ca .
For sure it works the same way with other Laconica software. Feel free to use it - and to make it better!
----
#!/bin/bash
message=`kdialog --inputbox 'What are you doing right now?'`
curl -u Twitter_USERNAME:PASSWORD -s -F status="$message" http://twitter.com/statuses/update.xml http://twitter.com/account/end_session
curl -u Identi.ca_USERNAME:PASSWORD -s -F status="$message" http://identi.ca/api/statuses/update.xml http://identi.ca/account/end_session
----
Ratings & Comments
2 Comments
Thank you for making your script public! However: I guess that I will not use it untill there are some crossposting abilities. While I know that this should be built in in Laconica, I thought about if it wouldn't be nice to post it meanwhile two times - To identi.ca/Laconica and also to Twitter...
This is a simple crossposting-script for two microblogging services. In this case for Twitter and http://identi.ca . For sure it works the same way with other Laconica software. Feel free to use it - and to make it better! ---- #!/bin/bash message=`kdialog --inputbox 'What are you doing right now?'` curl -u Twitter_USERNAME:PASSWORD -s -F status="$message" http://twitter.com/statuses/update.xml http://twitter.com/account/end_session curl -u Identi.ca_USERNAME:PASSWORD -s -F status="$message" http://identi.ca/api/statuses/update.xml http://identi.ca/account/end_session ----