title: How to do Jo Blow is viewing "XYZ" on mysite.com facebook updates?
body: <p>What is required for me to integrate automatic activity updates on a user's facebook status?</p>
  
  <p>I frequently see things like "Joe Shmoe" is listening to Cornbread And Butter... by Carolina Chocolate D... on Spotify</p>
  
  <p>I'd like to know what it takes to integrate this.</p>
  
  <p>My suppositions:</p>
  
  <p>I imagine the user has to "agree" to this.
  The user has to either sign in with Facebook auth, or be signed in?
  There is some kind of server-side script that runs when a page loads, or is this an ajax JS library. 
  Does facebook offer some kind of api for this or JS library for this?</p>
  
  <p>Also I work with Ruby on Rails, so please let me know if there's a gem that facilitates this.</p>
  
  <p>Any info appreciated.</p>