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
- Create a Facebook Application
- 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/
- Configure the Site URL, and point it to your Web Server. If you're developing locally, you can use
- 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.
- In the Advanced section, enable these Migrations:
- OAuth Migration
- Download the sample:
mkdir runwithfriends cd runwithfriends curl -L http://github.com/fbsamples/runwithfriends/tarball/master | tar xzvf - --strip-components=1
- Configure the local settings for your app. Start by copying
conf.py.example
toconf.py
, then edit the various values in theconf.py
:
cp conf.py.example conf.py vim conf.py
- Add the application to the App Engine Launcher and start it (or start it from the command line):
dev_appserver.py .
- Go to localhost:8080
No comments:
Post a Comment