Tuesday, July 31, 2012

Your first Application in Facebook !!

Your first Application in Facebook !!:


Join Browse4Bux



banner

FB App Tutorial

No description about me ! just start creating your 1st application : 

Step 1 : preparation for Create app 

c. A public URL for your application (in order to use the Real-time API


Getting Started

  1. Create a Facebook Application
  2. In the Web Site section:
    • Configure the Site URL, and point it to your Web Server. If you're developing locally, you can use http://localhost:8080/
    •  
    •  
  3. In the Facebook Integration section:
    • Choose a Canvas Page name, which is your application's URL on facebook.com.
    • Configure the Canvas URL, and point it to your webserver. If you're developing locally, you can use http://localhost:8080/. This will get used as the iframe src.
    • Also switch iframe Size to Auto Resize, since we'll be using the JavaScript SDK to resize our iframe.
    •  
  4. In the Advanced section, enable these Migrations:
    • OAuth Migration
    •  
  5. Download the sample:

    mkdir runwithfriends
    cd runwithfriends
    curl -L http://github.com/fbsamples/runwithfriends/tarball/master |
      tar xzvf - --strip-components=1
     
  6. Configure the local settings for your app. Start by copying conf.py.example to conf.py, then edit the various values in the conf.py:
    cp conf.py.example conf.py
    vim conf.py
     
  7. Add the application to the App Engine Launcher and start it (or start it from the command line):
    dev_appserver.py .
     
     
  8. Go to localhost:8080

No comments:

Post a Comment