Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
rename Meals with Friends to Scrumptious
Browse files Browse the repository at this point in the history
  • Loading branch information
Niall Kennedy committed Jun 19, 2013
1 parent b3c4782 commit 455d061
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ function get_all_meals() {
'fb' => 'http://ogp.me/ns/fb#'
),
'type' => 'website',
'title' => 'Meals with Friends sample web application',
'description' => 'Meals with Friends sample web application. Choose a meal, friends, and place before posting a story to your Facebook Timeline.'
'title' => 'Scrumptious sample web application',
'description' => 'Scrumptious sample web application. Choose a meal, friends, and place before posting a story to your Facebook Timeline.'
);

$page_url = Facebook_Sample_Application::BASE_URI;
Expand Down
2 changes: 1 addition & 1 deletion privacy.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
),
'type' => 'website',
'title' => 'Privacy Policy',
'description' => 'Meals with Friends does not store any personal data.'
'description' => 'Scrumptious does not store any personal data.'
);

$page_url = Facebook_Sample_Application::BASE_URI . 'privacy.php';
Expand Down
18 changes: 9 additions & 9 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
Installing Meals with Friends
Installing Scrumptious Web
=============================

View the live demo
------------------

See the finished product in action at [FacebookSampleApp.com](http://facebooksampleapp.com/ "Facebook Meals with Friends demo app")
See the finished product in action at [FacebookSampleApp.com](http://facebooksampleapp.com/ "Scrumptious Web demo app")

Place files on your webserver
-----------------------------

Meals with Friends requires a web server addressable from the public Internet running [PHP](http://www.php.net/) with [cURL enabled](http://www.php.net/manual/en/intro.curl.php).
Scrumptious Web requires a web server addressable from the public Internet running [PHP](http://www.php.net/) with [cURL enabled](http://www.php.net/manual/en/intro.curl.php).

Clone the repository from GitHub into a folder inside your website's document root.

git clone [email protected]:fbsamples/web-mealswithfriends.git mealswithfriends
cd mealswithfriends
git clone [email protected]:fbsamples/web-scrumptious.git scrumptious
cd scrumptious

Initialize and update the [Facebook PHP SDK](https://github.com/facebook/facebook-php-sdk) [submodule](http://git-scm.com/book/en/Git-Tools-Submodules "git submodules").

Expand All @@ -31,12 +31,12 @@ Edit the `config.php` file with the appropriate values for your application, aud
1. Specify a base URI, including the trailing slash, representing the URI to this directory's content on your webserver. e.g. `http://example.com/`
1. Specify a static base URI, including the trailing slash, representing the URI to the sample's static content. e.g. `http://example.com/static/` if on the same server or `http://s.example.com/` if you choose to serve static files from a CDN or separate hostname.

Meals with Friends overview
Scrumptious Web overview
---------------------------

The Meals with Friends web application allows a visitor to browse a list of meals and view a detail page with more information about a meal of interest.
Scrumptious Web allows a visitor to browse a list of meals and view a detail page with more information about a meal of interest.

The Meals with Friends web application paired with a properly configured Facebook application adds identity and sharing features powered by Facebook:
Scrumptious Web paired with a properly configured Facebook application adds identity and sharing features powered by Facebook:

* Share [basic Facebook information](https://developers.facebook.com/docs/reference/login/public-profile-and-friend-list/) with your Facebook application through [Facebook Login](https://developers.facebook.com/docs/concepts/login/) including his or her name, gender, and Facebook profile photo
* Grant your Facebook application permission to publish new [Open Graph actions](https://developers.facebook.com/docs/opengraph/using-actions/) to his Facebook profile on his behalf
Expand All @@ -45,7 +45,7 @@ The Meals with Friends web application paired with a properly configured Faceboo
External libraries
------------------

Meals with Friends uses a few external libraries for demonstration purposes. The choice of these libraries for our example should demonstrate general development patterns but should not limit your development using your own language or libraries of choice.
Scrumptious Web uses a few external libraries for demonstration purposes. The choice of these libraries for our example should demonstrate general development patterns but should not limit your development using your own language or libraries of choice.

* [Bootstrap](http://twitter.github.io/bootstrap/ "Bootstrap front-end framework") CSS for a responsive layout adaptive to both desktop and mobile client widths and general CSS template styling; modal JavaScript to assist with showing and dismissing a modal share dialog. Bootstrap is licensed under the [Apache License version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
* [jQuery](http://jquery.com/) JavaScript for DOM selectors, DOM manipulation, layout computations, event handling and general browser abstraction functions. jQuery is licensed under the [MIT license](http://opensource.org/licenses/MIT)
Expand Down
6 changes: 3 additions & 3 deletions templates/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
?>>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title><?php echo htmlspecialchars( $og['title'] ) . ( $page_url === Facebook_Sample_Application::BASE_URI ? '' : ' | Meals with Friends' ); ?></title>
<title><?php echo htmlspecialchars( $og['title'] ) . ( $page_url === Facebook_Sample_Application::BASE_URI ? '' : ' | Scrumptious' ); ?></title>
<link rel="dns-prefetch" href="//code.jquery.com">
<link rel="dns-prefetch" href="//connect.facebook.net">
<?php
Expand All @@ -41,7 +41,7 @@
<meta property="og:type" content="<?php echo htmlspecialchars( $og['type'] ); ?>">
<meta property="og:url" content="<?php echo $page_url; ?>">
<meta property="og:title" content="<?php echo htmlspecialchars( $og['title'] ); ?>">
<meta property="og:site_name" content="Meals with Friends">
<meta property="og:site_name" content="Scrumptious">
<meta property="og:description" content="<?php echo htmlspecialchars( $og['description'] ); ?>">
<?php
if ( isset( $og['image'] ) ) {
Expand Down Expand Up @@ -84,7 +84,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="brand" href="<?php echo htmlspecialchars( Facebook_Sample_Application::BASE_URI ); ?>">Meals with Friends</a>
<a class="brand" href="<?php echo htmlspecialchars( Facebook_Sample_Application::BASE_URI ); ?>">Scrumptious</a>
<p id="user-identity" class="navbar-text pull-right"></p>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions templates/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

<div class="row-fluid">
<div id="meal-listings" class="span12">
<!--[if lt IE 10]><p>The Meals with Friends sample web application prefers Internet Explorer 10 or newer. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p><![endif]-->
<!--[if lt IE 10]><p>The Scrumptious sample web application prefers Internet Explorer 10 or newer. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p><![endif]-->
<div class="row-fluid"><?php
$item_count = 0;
foreach ( $meals as $meal_id => $meal ) {

if ( $item_count && $item_count % 3 === 0 )
echo '</div><div class="row-fluid">';
?><section id="meal-listing-<?php echo $meal_id; ?>" class="meal span4" data-meal="<?php echo $meal_id; ?>" aria-label="<?php echo htmlspecialchars( $meal->title ); ?>">
Expand Down
6 changes: 3 additions & 3 deletions templates/privacy.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<header>
<h1>Privacy Policy</h1>
</header>
<p>The Meals with Friends web application persists no personal data.</p>
<p>Meals with Friends retrieves <a href="https://developers.facebook.com/docs/reference/login/public-profile-and-friend-list/">Facebook public profile</a> information from Facebook servers through JavaScript code running inside your web browser after you have granted the Meals with Friends application permission to access your public profile and friends list information stored on Facebook.</p>
<p>Meals with Friends requests permission to publish new <a href="https://developers.facebook.com/docs/opengraph/using-actions/">Open Graph actions</a> to your Facebook Timeline. Meals with Friends requests a list of your Facebook friends to match a friend's name while you attempt to tag a friend in an action. Your friends list and published Open Graph action is not stored on Meals with Friends' Web server.</p>
<p>Scrumptious persists no personal data.</p>
<p>Scrumptious retrieves <a href="https://developers.facebook.com/docs/reference/login/public-profile-and-friend-list/">Facebook public profile</a> information from Facebook servers after you have granted the Scrumptious application permission to access your public profile and friends list information stored on Facebook.</p>
<p>Scrumptious requests permission to publish new <a href="https://developers.facebook.com/docs/opengraph/using-actions/">Open Graph actions</a> to your Facebook Timeline. Scrumptious requests a list of your Facebook friends to match a friend's name while you attempt to tag a friend in an action. Your friends list and published Open Graph action is not stored on the Scrumptious Web server.</p>
</section>
</div>

Expand Down
4 changes: 2 additions & 2 deletions templates/terms.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<header>
<h1>Terms of Service</h1>
</header>
<p>The Meals with Friends web application is provided by <a href="https://www.facebook.com/">Facebook</a> for demonstrative purposes only.</p>
<p>Publishing an Open Graph action will not cause food to spontaneously appear in your developer console. Facebook is not responsible for food cravings or inducing a desire to violate personal or religious beliefs while viewing tasty food options on Meals with Friends.</p>
<p>Scrumptious is provided by <a href="https://www.facebook.com/">Facebook</a> for demonstrative purposes only.</p>
<p>Publishing an Open Graph action will not cause food to spontaneously appear in your developer console. Facebook is not responsible for food cravings or inducing a desire to violate personal or religious beliefs while viewing tasty food options on Scrumptious.</p>
<p>Please code responsibly. If you are unable to code responsibly perhaps <a href="http://wikipedia.org/wiki/Pair_programming">pair programming</a> can help.</p>
</section>
</div>
Expand Down
2 changes: 1 addition & 1 deletion terms.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
),
'type' => 'website',
'title' => 'Terms of Service',
'description' => 'Meals with Friends is a sample application intended to be used for demonstrative purposes only.'
'description' => 'Scrumptious is a sample application intended to be used for demonstrative purposes only.'
);

$page_url = Facebook_Sample_Application::BASE_URI . 'terms.php';
Expand Down

0 comments on commit 455d061

Please sign in to comment.