Browse files

add fb root element to doc

  • Loading branch information...
1 parent 70c2e85 commit 9d509e783ee573a395529f1790464325ebd3b160 @kristianmandrup committed Apr 3, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 README.rdoc
@@ -36,7 +36,6 @@ The JavaScript SDK supports OAuth 2.0.
The following code will load and initialize the JavaScript SDK with all common options. Replace YOUR_APP_ID and WWW.YOUR_DOMAIN.COM with the appropriate values. The best place to put this code is right after the opening <body> tag.
-<div id="fb-root"></div>
window.fbAsyncInit = function() {
@@ -78,6 +77,7 @@ The JavaScript SDK is available in all locales that are supported by Facebook. T
Currently the following Social plugins are included in this gem
+* Root
* Activity Feed
* Comments
* Facepile
@@ -108,6 +108,12 @@ View methods exposed:
Note: You don't have to worry about dashed or underscored properties. Conversions will be handled automatically. The Facebook Social plugins API is (sadly) not very consistent when it comes to attribute names.
+=== Facebook root
+<div id="fb-root"></div>
+A Facebook placeholder div
=== Activity feed
<div class="fb-activity" data-width="300" data-height="300" data-header="true" data-recommendations="false"></div>

0 comments on commit 9d509e7

Please sign in to comment.