Skip to content

Instantly share code, notes, and snippets.

@facebook
Created February 19, 2010 21:02

Revisions

  1. facebook revised this gist Feb 19, 2010. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions CanvasIframeGsWithWidgets.html
    Original file line number Diff line number Diff line change
    @@ -9,9 +9,9 @@ <h3>Peanut Butter and Jelly Sandwich</h3>
    1 T peanut butter<br>
    1 T jelly<br>
    &nbsp;<br>
    Using knife, spread peanut butter on one slice of bread. Using a clean knife, spread jelly
    on the other slice. Put slices together so that the peanut butter and jelly meet. If desired,
    cut into squares or triangles.
    Using knife, spread peanut butter on one slice of bread. Using a clean knife,
    spread jelly on the other slice. Put slices together so that the peanut butter
    and jelly meet. If desired, cut into squares or triangles.
    <center>
    <fb:share-button href="http://apps.facebook.com/example" type="button_count">
    </fb:share-button>
  2. facebook created this gist Feb 19, 2010.
    27 changes: 27 additions & 0 deletions CanvasIframeGsWithWidgets.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,27 @@
    <div id="fb-root"></div>
    <script src="http://static.ak.fbcdn.net/connect/en_US/core.js"></script>

    <div id="content">
    <div align="right"><fb:login-button autologoutlink="true" v="2"></fb:login-button></div>
    <h1>Recipes For You on Facebook</h1>
    <h3>Peanut Butter and Jelly Sandwich</h3>
    2 slices bread<br>
    1 T peanut butter<br>
    1 T jelly<br>
    &nbsp;<br>
    Using knife, spread peanut butter on one slice of bread. Using a clean knife, spread jelly
    on the other slice. Put slices together so that the peanut butter and jelly meet. If desired,
    cut into squares or triangles.
    <center>
    <fb:share-button href="http://apps.facebook.com/example" type="button_count">
    </fb:share-button>
    </center>
    </div>

    <script>
    FB.init({
    apiKey: 'YOUR_API_KEY',
    status: true
    });
    FB.XFBML.parse();
    </script>