Open primalr opened 10 years ago
did u figure out any solution for this: {"errors":[{"message":"SSL is required","code":92
The solution is to use SSL.
client = Grackle::Client.new(:auth=>{
:type=>:oauth,
:consumer_key=>TWITTER_CONSUMER_KEY, :consumer_secret=>TWITTER_CONSUMER_SECRET,
:token=>@token, :token_secret=>@secret
})
client.ssl = true
client.statuses.update.json! :status=>"my message"
Seems like Twitter no longer accepts non-ssl post's; so the function of ssl could be changed to default.