This repository has been archived by the owner on Jan 13, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
David Pio
committed
Sep 21, 2011
1 parent
20328dc
commit d7adb8d
Showing
1 changed file
with
14 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,22 @@ | ||
Sample E-Commerce App | ||
[Sample E-Commerce App] | ||
|
||
Highlights use of custom open graph to share purchases and coupon redemptions | ||
back to your friends. | ||
|
||
Buying a product generates a "purchased" story. If you enter in a working | ||
coupon code, a "redeem" coupon story is also generated. | ||
|
||
How to install: | ||
[How to install] | ||
|
||
1) Goto https://developers.facebook.com/apps and create a new app. | ||
2) Give your app a namespace, in this example we used "carshoppe" but it | ||
should be something different. | ||
3) Create the app using the Heroku cloud service provider and select node.js | ||
4) If you have not setup a Heroku account before, follow the instructions that | ||
Heroku will email you. | ||
5) Verify that your Heroku auto-created sample app works. | ||
6) Back in the configuration of your app, create two objects types "Car Part" | ||
and "Coupon". | ||
7) Create an action type called "Purchase" that is connected to "Car Part". | ||
8) Create an action type called "Redeem" that is connected to "Coupon". | ||
9) Copy the files from this Shoppe sample app, and overwriting any files from | ||
the Heroku sample app. | ||
10) Edit web.js and replace thw two instances of "carshoppe" with the namespace | ||
you chose in step 2. | ||
11) Check in your code, and push the changes to Heroku. | ||
12) Enjoy. | ||
1. Goto https://developers.facebook.com/apps and create a new app. | ||
2. Give your app a namespace, in this example we used "carshoppe" but it should be something different. | ||
3. Create the app using the Heroku cloud service provider and select node.js | ||
4. If you have not setup a Heroku account before, follow the instructions that Heroku will email you. | ||
5. Verify that your Heroku auto-created sample app works. | ||
6. Back in the configuration of your app, create two objects types "Car Part" and "Coupon". | ||
7. Create an action type called "Purchase" that is connected to "Car Part". | ||
8. Create an action type called "Redeem" that is connected to "Coupon". | ||
9. Copy the files from this Shoppe sample app, and overwriting any files from the Heroku sample app. | ||
10. Edit web.js and replace thw two instances of "carshoppe" with the namespace you chose in step 2. | ||
11. Check in your code, and push the changes to Heroku. | ||
12. Enjoy. |