Twitter update issue |
Twitter update issue |
injijagwalaafq |
Jul 29 2010, 10:27 AM
Post
#1
|
Newbie Group: Members Posts: 2 Joined: 14-December 09 Member No.: 817 |
I'm trying to get amip to post to twitter. Based on this guide it should be easy. I tested a curl script similar to the one in the article via command line and it works.
So in theory all I have to do is put the following into an irc preset or callbacks/web, correct? No dice CODE /template:(C:\Program Files\iTunes\plug-ins\plugin.ini) C:\Program Files\curl-7.21.0-ssl-sspi-zlib-static-bin-w32\np.txt /exec:(curl -u user:password -d status="%name [%min:%sec~m/%br~kbps/%sr~kHz]" http://twitter.com/statuses/update.xml) Ideas? |
Serge |
Jul 29 2010, 07:44 PM
Post
#2
|
AMIP Developer Group: Root Admin Posts: 935 Joined: 12-March 06 Member No.: 1 |
It makes no sense, you parse AMIP configuration file as a template to produce what? Then you use exec without using anything produced by the /template call? What is it for?
|
injijagwalaafq |
Jul 30 2010, 09:34 AM
Post
#3
|
Newbie Group: Members Posts: 2 Joined: 14-December 09 Member No.: 817 |
It makes no sense, you parse AMIP configuration file as a template to produce what? Then you use exec without using anything produced by the /template call? What is it for? Trying to produce now playing information %name, for example. CODE /exec:(curl -u user:pass -d status="%name" http://api.twitter.com/1/statuses/update.json) |
Serge |
Jul 30 2010, 10:38 AM
Post
#4
|
AMIP Developer Group: Root Admin Posts: 935 Joined: 12-March 06 Member No.: 1 |
You may get better luck with the options suggested at http://www.sakana.fr/blog/2007/03/18/scrip...tter-with-curl/ .
In any case it has nothing to do with AMIP. If you can do it from the command line, then it will also work from AMIP. So find out working curl options and test it from the command line. |