Chronicling my journey and discoveries in cutting-edge software development. Here, I share practical knowledge and solutions, focusing on Ruby on Rails, Node.js, and JavaScript, alongside explorations into Kubernetes, distributed systems, and latest web technologies.
A super simple Facebook Open Graph API client
Get link
Facebook
X
Pinterest
Email
Other Apps
For Facebook Graph API client. I checked a gem 'rest-graph'
Here is the git repo https://github.com/godfat/rest-graph
For Truncating String I have used 'truncate' rails helper method. limiting to 10 characters truncate("im srikanth glad to meet you", 10) >> "im srik..." For HTML stripping, I have used gsub.. str.gsub(/ ]*>/, "")
Hi, In Rails 3. there was a problem with rake 0.9.0 gemset. When i do rake db:create I got the following error, undefined method `task' for # The fix is as follows, go to config/application.rb file. Add this line inside the class, include Rake::DSL That fixed the problem
Comments
https://github.com/appoxy/mini_fb