I'm looking for a very simple "hello world" type of example that will help me understand how to use JavaScript to retrieve the Insight data for my domain.
I want to return the total number of Likes (domain_like_adds) for the day on my website, but I'm not sure how to go about it. The Facebook documentation has me running in circles.
Thanks for your help!
See this page for more information on how to define your query:
http://developers.facebook.com/docs/reference/fql/insights/
Here's the basic query and facebook JS API query with callback function: