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.
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 http://api.twitter.com 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
Just what I was looking for. I needed this to get @aeroxxxxxxxxune working properly again. Sure enough, after noticing the date the API change was made, that's when his tweets stopped. Thanks!
Thanks very much for posting this. Exactly my problem, and exactly the right fix.
Great… It works 🙂
Tnx…