Since the 14th, my script to post on twitter, using ttytter, stopped to work.

the message I received was the following one:

JSON syntax error while posting twitter statuses using ttytter


How to convert an NSString to float (or double) and vice versa http://www.xappsoftware.com/wordpress/?p=1876
trying to find cURL ... /usr/bin/curl
test-login SUCCEEDED!
post attempt *** JSON syntax error
Can't use an undefined value as a HASH reference at ./ttytter.pl line 5162.

Twitter

basically the script was based on the following command:

    ./ttytter.pl -keyf=xap -status="$STRING_STATUS"

 

I surfed the web just a little and I found the solution on……. twitter, on the twitterapi account I found the following tweet:

Tomorrow (Jan 14, 2014) all requests to will be restricted to SSL only.

 

So, I modified the script as follows:

 

   ./ttytter.pl -ssl -keyf=xap -status="$STRING_STATUS"

and now it works fine.

 

Gg1