Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Twitter update issue
injijagwalaafq
post 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?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Serge
post 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?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
injijagwalaafq
post Jul 30 2010, 09:34 AM
Post #3


Newbie
*

Group: Members
Posts: 2
Joined: 14-December 09
Member No.: 817



QUOTE(Serge @ Jul 29 2010, 07:44 PM) *

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)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Serge
post 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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: