Hello world!
This is my first post. I don't know if i'm supposed to write here or better in the forum
I have used this tutorial to learn how to send a tweet via curl. And it is great!
I have two comments about it:
1.- I installed curl with
ipkg install libcurl
Because it's easier and I couldn't recompile the package by myself.
2.- Some errors were found using the script. I was finally succesful with:
curl --verbose --basic --user "$user:$password" --data-ascii "status= Temperature is $(/usr/sbin/smartctl -d ata -A /dev/sda | grep Temp | sed "s/^.*\(.[0-9]\)$/\1/") C" http://twitter.com/statuses/update.json
The main problems were about using the character 'ยบ' and that the url parameter was missing!