GithubHelp home page GithubHelp logo

isabella232 / web-scrumptious Goto Github PK

View Code? Open in Web Editor NEW

This project forked from facebookarchive/web-scrumptious

0.0 0.0 0.0 22.7 MB

Facebook sample application Web. Eat meals while tagging friends and places.

Home Page: http://facebooksampleapp.com/

PHP 45.16% CSS 15.29% JavaScript 39.55%

web-scrumptious's Introduction

Installing Scrumptious Web

View the live demo

See the finished product in action at FacebookSampleApp.com

Place files on your webserver

Scrumptious Web requires a web server addressable from the public Internet running PHP with cURL enabled.

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

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

Initialize and update the Facebook PHP SDK submodule.

git submodule init
git submodule update

Configure your application

Edit the config.php file with the appropriate values for your application, audience, and server.

  1. Add information from your Facebook application including your app id, secret, and namespace.
  2. Set your Facebook locale to display JavaScript SDK strings in a language other than English.
  3. Specify a base URI, including the trailing slash, representing the URI to this directory's content on your webserver. e.g. http://example.com/
  4. 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.

Scrumptious Web overview

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

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

External libraries

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 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
  • jQuery JavaScript for DOM selectors, DOM manipulation, layout computations, event handling and general browser abstraction functions. jQuery is licensed under the MIT license
  • JQuery UI autocomplete widget to display search results for Facebook friends and Facebook places. jQuery UI is licensed under the MIT license

web-scrumptious's People

Contributors

niallkennedy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.