To create a monitoring tool with Dashing, I want to display the number of LIKES of Facebook page in a widget. I retrieve the JSON with the necessary information :
{
"data": [
{
"share_count": 242039,
"like_count": 63648,
"comment_count": 52304,
"total_count": 357991
}
]
}
to view the number of like in a widget as in this example : https://github.com/Ephigenia/foobugs-dashboard#default-dashboard
How to display only the number of like in Ruby ?
I found something similar but uses Nokogiri https://github.com/Ephigenia/foobugs-dashboard/blob/master/jobs/twitter_user.rb