Permalink
Browse files

r2359@opsdev009 (orig r112191): sgrimm | 2008-07-23 14:43:45 -0700

 Fork Smiley app for i18n demo
  • Loading branch information...
1 parent a2c5b10 commit 2f1a8e252bc544e6f6741686400cfac80df9e1e2 (no author) committed Jul 23, 2008
Showing with 4,350 additions and 0 deletions.
  1. +55 −0 samples/smiley-i18n/README
  2. +344 −0 samples/smiley-i18n/client/facebook.php
  3. +104 −0 samples/smiley-i18n/client/facebook_desktop.php
  4. +1,951 −0 samples/smiley-i18n/client/facebookapi_php5_restlib.php
  5. +806 −0 samples/smiley-i18n/client/jsonwrapper/JSON/JSON.php
  6. +21 −0 samples/smiley-i18n/client/jsonwrapper/JSON/LICENSE
  7. +6 −0 samples/smiley-i18n/client/jsonwrapper/jsonwrapper.php
  8. +23 −0 samples/smiley-i18n/client/jsonwrapper/jsonwrapper_inner.php
  9. +4 −0 samples/smiley-i18n/config/settings.ini.sample
  10. +77 −0 samples/smiley-i18n/config/setup.php
  11. +101 −0 samples/smiley-i18n/css/page.css
  12. +47 −0 samples/smiley-i18n/handlers/feedHandler.php
  13. +37 −0 samples/smiley-i18n/handlers/infoHandler.php
  14. +32 −0 samples/smiley-i18n/handlers/multiFeedHandler.php
  15. +51 −0 samples/smiley-i18n/handlers/otherPublishHandler.php
  16. +48 −0 samples/smiley-i18n/handlers/profileHandler.php
  17. +54 −0 samples/smiley-i18n/handlers/publishHandler.php
  18. BIN samples/smiley-i18n/images/smile0.jpg
  19. BIN samples/smiley-i18n/images/smile1.jpg
  20. BIN samples/smiley-i18n/images/smile2.jpg
  21. BIN samples/smiley-i18n/images/smile3.jpg
  22. BIN samples/smiley-i18n/images/smile4.jpg
  23. BIN samples/smiley-i18n/images/smile5.jpg
  24. BIN samples/smiley-i18n/images/smile6.jpg
  25. BIN samples/smiley-i18n/images/smile7.jpg
  26. BIN samples/smiley-i18n/images/smile8.jpg
  27. BIN samples/smiley-i18n/images/smiley.gif
  28. BIN samples/smiley-i18n/images/smiley.jpg
  29. BIN samples/smiley-i18n/images/smiley.tiff
  30. +56 −0 samples/smiley-i18n/index.php
  31. +23 −0 samples/smiley-i18n/js/base.js
  32. +223 −0 samples/smiley-i18n/lib/display.php
  33. +47 −0 samples/smiley-i18n/lib/feed.php
  34. +112 −0 samples/smiley-i18n/lib/moods.php
  35. +58 −0 samples/smiley-i18n/mysmilies.php
  36. +37 −0 samples/smiley-i18n/newsmiley.php
  37. +18 −0 samples/smiley-i18n/sendSmiley.php
  38. +15 −0 samples/smiley-i18n/smile.php
View
@@ -0,0 +1,55 @@
+
+Smiley is a sample app for the Facebook platform. It was designed
+specifically to test the many new features for the profile
+redesign. In particular it features -
+
+New profile box
+Info section
+Tab
+Feed stories
+Publisher (for self and others)
+Feed Form (for self and others)
+
+Further documentation is available at http://wiki.developers.facebook.com/index.php/New_Design_Integration_Guide
+
+--- Setup ---
+
+Smiley is packaged to set up on your own server. To configure Smiley,
+follow these steps .
+
+1) Create a new application at
+(http://www.new.facebook.com/developers/). The only fields that you
+need to give are application name and an app.facebook.com/{APP_SUFFIX}
+url. The app will configure the rest.
+
+2) Copy the file settings.ini.sample to settings.ini. Fill out your ROOT_LOCATION, APP_SUFFIX, API_KEY, and SECRET_KEY in settings.
+
+3) From the command line, run 'php setup.php' which will set your app
+settings and create your feed templates.
+
+You're good to go!
+
+-- Running the app --
+
+To run the app, navigate to apps.new.facebook.com/{APP_SUFFIX}. Once
+you log in, there are a bunch of things you can do.
+
+- Click "Add to Profile" to see a preview of your profile box.
+
+- Click "Add to Section" to see a preview of your info section.
+
+- Go to the "New Smiley" tab, and select a Smiley to see the Feed
+ dialog.
+
+- Go to the "Send Smiley" tab, and select a Smiley to send it to a
+ friends feed.
+
+- Go to your profile. Smiley should now be a publisher option. You
+ can add a smiley right from your profile. This uses Feed Story 1.
+
+- Go to a friend's profile. You can add a smiley right to their
+ Feed. This uses Feed Story 2.
+
+- Click the "+" button on the top right. From here you can add a new
+ smiley tab to your profile.
+
Oops, something went wrong.

0 comments on commit 2f1a8e2

Please sign in to comment.