diff --git a/facebooker.textile b/facebooker.md similarity index 58% rename from facebooker.textile rename to facebooker.md index 6311cbb..f02e388 100644 --- a/facebooker.textile +++ b/facebooker.md @@ -1,22 +1,22 @@ title: Facebook App Development w/ Ruby on Rails gradient-colors: #0e1f5b #3b5998 -h1. Q: How can I create a Friends Badge using the Facebook API? +# Q: How can I create a Friends Badge using the Facebook API? -!rfacebook-friendsbadge.png! + -* Step 1: Get your friends' ids (calling the @friends.get@ Facebook API using rfacebook). -* Step 2: Get all your friends' square profile pic links (calling @users.getInfo@ asking for the @pic_square@ field). +* Step 1: Get your friends' ids (calling the `friends.get` Facebook API using rfacebook). +* Step 2: Get all your friends' square profile pic links (calling `users.getInfo` asking for the `pic_square` field). -h3. "Facebook API Test Console":http://developer.facebook.com/tools.php?api - Demo +### [Facebook API Test Console](http://developer.facebook.com/tools.php?api) - Demo -h1. Q: How can I create a Friends Badge using the Facebook API? Continued +# Q: How can I create a Friends Badge using the Facebook API? Continued -* Step 1: Get your friends' ids (calling the @friends.get@ Facebook API using rfacebook). -* Step 2: Get all your friends' square profile pic links (calling @users.getInfo@ asking for the @pic_square@ field). +* Step 1: Get your friends' ids (calling the `friends.get` Facebook API using rfacebook). +* Step 2: Get all your friends' square profile pic links (calling `users.getInfo` asking for the `pic_square` field). -{{{ +``` def badge # get your friends' ids @@ -34,13 +34,13 @@ def badge end end -}}} +``` -h1. Q: How can I create a Friends Badge using the Facebook API? Continued +# Q: How can I create a Friends Badge using the Facebook API? Continued And add a matching view (web page template): -{{{ +```