2 posts about
Web Application

Use Koala Ruby gem to post "gif" image

Use Koala Ruby gem to post "gif" image thumbnail

Koala is a famous gem for interacting with Facebook activity. Common interaction can be achieved with single simple method call. However, when we develop a Facebook feed poster for gif image, the gif image was not automatically played. Koala common usage For posting a plain text message to my Facebook feed: facebook_graph = Koala::Facebook::API.new(facebook_...


Read More

No command history in Ruby console

When using Ruby console (either by irb or rails console, it's very handy to access previous commands by up arrow. However the history is broken after upgraded Ruby to v2.3+. Turns out it's a native extension readline that required by v2.3+ Ruby was missing during the installation of Ruby. Here's the quick fix: brew install readline...


Read More